This commit is contained in:
parent
0e86dc1a0b
commit
95a9163aa3
2 changed files with 2 additions and 2 deletions
|
@ -80,6 +80,7 @@ systemctl restart alloy
|
|||
##
|
||||
echo "== Configure Dyndns"
|
||||
cp root/etc/systemd/system/dyndns.service /etc/systemd/system/dyndns.service
|
||||
cp root/usr/local/bin/dyndns /usr/local/bin/dyndns
|
||||
cp -r root/etc/default/dyndns /etc/default/dyndns
|
||||
{
|
||||
echo "DIGITALOCEAN_TOKEN=${DIGITALOCEAN_TOKEN}"
|
||||
|
|
|
@ -5,8 +5,7 @@ After=network.target
|
|||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
User=nobody
|
||||
ExecStart=/usr/local/bin/dyndns
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue