From 95a9163aa35202a9e69fcef7b6534c3aab0416bc Mon Sep 17 00:00:00 2001 From: Tine Date: Thu, 2 Jan 2025 16:48:50 +0100 Subject: [PATCH] fix(ingress.tjo.cloud): copy binary --- ingress.tjo.cloud/install.sh | 1 + ingress.tjo.cloud/root/etc/systemd/system/dyndns.service | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ingress.tjo.cloud/install.sh b/ingress.tjo.cloud/install.sh index 72355cd..fc70bb3 100755 --- a/ingress.tjo.cloud/install.sh +++ b/ingress.tjo.cloud/install.sh @@ -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}" diff --git a/ingress.tjo.cloud/root/etc/systemd/system/dyndns.service b/ingress.tjo.cloud/root/etc/systemd/system/dyndns.service index a7ef316..c530150 100644 --- a/ingress.tjo.cloud/root/etc/systemd/system/dyndns.service +++ b/ingress.tjo.cloud/root/etc/systemd/system/dyndns.service @@ -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 \ No newline at end of file