diff options
-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 |