13 lines
320 B
SYSTEMD
13 lines
320 B
SYSTEMD
|
|
# /etc/systemd/system/wireguard-backup.timer (rpi)
|
||
|
|
[Unit]
|
||
|
|
Description=Nightly WireGuard hub-state backup
|
||
|
|
|
||
|
|
[Timer]
|
||
|
|
# 04:13 local time, jittered so it does not race the 03:36 garage-data run.
|
||
|
|
OnCalendar=*-*-* 04:13:00
|
||
|
|
RandomizedDelaySec=600
|
||
|
|
Persistent=true
|
||
|
|
Unit=wireguard-backup.service
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=timers.target
|