summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-28 19:15:02 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-28 19:15:02 +0100
commitc1fcbba9cb45f981e5bd8decf3ebbc1e17d9fbd9 (patch)
treec36677267ea0ced01c399fec5a248c983c7a51c4 /src
parentab5b18b8635493717947c1a6f93ecb1d06293f7f (diff)
downloadvyos-1x-c1fcbba9cb45f981e5bd8decf3ebbc1e17d9fbd9.tar.gz
vyos-1x-c1fcbba9cb45f981e5bd8decf3ebbc1e17d9fbd9.zip
ddns: T3151: update scripts to work with Bullseye upstream version
Diffstat (limited to 'src')
-rw-r--r--src/etc/systemd/system/ddclient.service.d/override.conf (renamed from src/systemd/ddclient.service)11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/systemd/ddclient.service b/src/etc/systemd/system/ddclient.service.d/override.conf
index a4d55827a..d9c9963b0 100644
--- a/src/systemd/ddclient.service
+++ b/src/etc/systemd/system/ddclient.service.d/override.conf
@@ -1,14 +1,11 @@
[Unit]
-Description=Dynamic DNS Update Client
-RequiresMountsFor=/run
-ConditionPathExists=/run/ddclient/ddclient.conf
+After=
After=vyos-router.service
[Service]
+WorkingDirectory=
WorkingDirectory=/run/ddclient
-Type=forking
+PIDFile=
PIDFile=/run/ddclient/ddclient.pid
+ExecStart=
ExecStart=/usr/sbin/ddclient -cache /run/ddclient/ddclient.cache -pid /run/ddclient/ddclient.pid -file /run/ddclient/ddclient.conf
-
-[Install]
-WantedBy=multi-user.target