From c1fcbba9cb45f981e5bd8decf3ebbc1e17d9fbd9 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 28 Dec 2020 19:15:02 +0100 Subject: ddns: T3151: update scripts to work with Bullseye upstream version --- src/etc/systemd/system/ddclient.service.d/override.conf | 11 +++++++++++ src/systemd/ddclient.service | 14 -------------- 2 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 src/etc/systemd/system/ddclient.service.d/override.conf delete mode 100644 src/systemd/ddclient.service (limited to 'src') diff --git a/src/etc/systemd/system/ddclient.service.d/override.conf b/src/etc/systemd/system/ddclient.service.d/override.conf new file mode 100644 index 000000000..d9c9963b0 --- /dev/null +++ b/src/etc/systemd/system/ddclient.service.d/override.conf @@ -0,0 +1,11 @@ +[Unit] +After= +After=vyos-router.service + +[Service] +WorkingDirectory= +WorkingDirectory=/run/ddclient +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 diff --git a/src/systemd/ddclient.service b/src/systemd/ddclient.service deleted file mode 100644 index a4d55827a..000000000 --- a/src/systemd/ddclient.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Dynamic DNS Update Client -RequiresMountsFor=/run -ConditionPathExists=/run/ddclient/ddclient.conf -After=vyos-router.service - -[Service] -WorkingDirectory=/run/ddclient -Type=forking -PIDFile=/run/ddclient/ddclient.pid -ExecStart=/usr/sbin/ddclient -cache /run/ddclient/ddclient.cache -pid /run/ddclient/ddclient.pid -file /run/ddclient/ddclient.conf - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3