Initial commit
This commit is contained in:
6
systemd-templates/dns-update.service
Normal file
6
systemd-templates/dns-update.service
Normal file
@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Update (if needed) name server with our IP
|
||||
|
||||
[Service]
|
||||
User=PH_USER
|
||||
ExecStart=PH_DIRECTORY/main.sh
|
9
systemd-templates/dns-update.timer
Normal file
9
systemd-templates/dns-update.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run DNS update every 30 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1min
|
||||
OnUnitActiveSec=30min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user