Add example .service file for systemd daemon.
This commit is contained in:
parent
af0f516a46
commit
fca8202bd7
1 changed files with 9 additions and 0 deletions
9
scripts/name-dyndns.service
Normal file
9
scripts/name-dyndns.service
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Automatically update name.com records to the hosts external ip.
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/local/bin/name-dyndns -daemon=true -config=/etc/name-dyndns/config.json
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue