Add cf-ddns.service
This commit is contained in:
parent
1313b50995
commit
36072eb1ff
15
cf-ddns.service
Normal file
15
cf-ddns.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Cloudflare DDNS updater (local IPv4 via default route)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
EnvironmentFile=/etc/cf-ddns/cf-ddns.env
|
||||
ExecStart=/usr/local/bin/cf-ddns
|
||||
Nice=10
|
||||
IOSchedulingClass=best-effort
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
Loading…
x
Reference in New Issue
Block a user