18 lines
351 B
SYSTEMD
18 lines
351 B
SYSTEMD
|
|
[Unit]
|
||
|
|
Description=Porkbun Dynamic DNS Update Timer
|
||
|
|
Documentation=file:///opt/porkbun-ddns/README.md
|
||
|
|
Requires=porkbun-ddns.service
|
||
|
|
|
||
|
|
[Timer]
|
||
|
|
# Run 2 minutes after boot
|
||
|
|
OnBootSec=2min
|
||
|
|
|
||
|
|
# Run every 5 minutes
|
||
|
|
OnUnitActiveSec=5min
|
||
|
|
|
||
|
|
# If the system was off when a timer should have run, run it on next boot
|
||
|
|
Persistent=true
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=timers.target
|