fix(ingress.tjo.cloud): copy service
Some checks failed
/ lint (push) Failing after 35s

This commit is contained in:
Tine 2025-01-02 16:42:20 +01:00
parent 838da91bbf
commit 4a92605aa2
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
2 changed files with 5 additions and 1 deletions

View file

@ -79,12 +79,12 @@ systemctl restart alloy
##
echo "== Configure Dyndns"
cp root/systemd/system/dyndns.service /systemd/system/dyndns.service
cp -r root/etc/default/dyndns /etc/default/dyndns
{
echo "DIGITALOCEAN_TOKEN=${DIGITALOCEAN_TOKEN}"
echo "NAME=${CLOUD_REGION}"
} >>/etc/default/dyndns
systemctl daemon-reload
systemctl enable --now dyndns
systemctl restart dyndns

View file

@ -1,7 +1,11 @@
[Unit]
Description=Dynamic DNS Updater
After=network.target
[Service]
Type=simple
Restart=always
User=nobody
ExecStart=/usr/local/bin/dyndns
[Install]