summaryrefslogtreecommitdiff
path: root/src/systemd/dhclient@.service
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd/dhclient@.service')
-rw-r--r--src/systemd/dhclient@.service7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/systemd/dhclient@.service b/src/systemd/dhclient@.service
index 4711a0d70..6d41de232 100644
--- a/src/systemd/dhclient@.service
+++ b/src/systemd/dhclient@.service
@@ -1,18 +1,13 @@
[Unit]
Description=DHCP client on %i
Documentation=man:dhclient(8)
-ConditionPathExists=/var/lib/dhcp/dhclient_%i.conf
-ConditionPathExists=/var/lib/dhcp/dhclient_%i.options
StartLimitIntervalSec=0
After=vyos-router.service
[Service]
-WorkingDirectory=/var/lib/dhcp
Type=exec
-EnvironmentFile=-/var/lib/dhcp/dhclient_%i.options
-PIDFile=/var/lib/dhcp/dhclient_%i.pid
ExecStart=/sbin/dhclient -4 -d $DHCLIENT_OPTS
-ExecStop=/sbin/dhclient -4 $DHCLIENT_OPTS -r
+ExecStop=/sbin/dhclient -4 -d $DHCLIENT_OPTS -r
Restart=always
RestartPreventExitStatus=
RestartSec=10