diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-29 15:06:38 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-29 15:06:38 +0200 |
commit | 1d909e0c5358a0d733baffe6cd533d21927ed147 (patch) | |
tree | d84b35bea5b80452414c8083798fa3e59516cd94 /src/systemd/dhclient6@.service | |
parent | 867a0b71acc3f1cbbcfad553952bdbc82070ae4b (diff) | |
parent | fc3ceac0160db30d49d9b8bb2417934c9b399db4 (diff) | |
download | vyos-1x-1d909e0c5358a0d733baffe6cd533d21927ed147.tar.gz vyos-1x-1d909e0c5358a0d733baffe6cd533d21927ed147.zip |
Merge branch 'systemd-dhclient' of github.com:c-po/vyos-1x into current
* 'systemd-dhclient' of github.com:c-po/vyos-1x:
dhclient: T2393: remove intermediate _DHCP helper class
dhclient6: T2393: T2394: migrate from SysVinit to systemd
dhclient: T2393: migrate from SysVinit to systemd
Diffstat (limited to 'src/systemd/dhclient6@.service')
-rw-r--r-- | src/systemd/dhclient6@.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/systemd/dhclient6@.service b/src/systemd/dhclient6@.service new file mode 100644 index 000000000..d871e7354 --- /dev/null +++ b/src/systemd/dhclient6@.service @@ -0,0 +1,18 @@ +[Unit] +Description=DHCPv6 client on %i +Documentation=man:dhclient(8) +RequiresMountsFor=/run +ConditionPathExists=/run/dhclient6/%i.conf +ConditionPathExists=/run/dhclient6/%i.options +After=vyos-router.service + +[Service] +WorkingDirectory=/run/dhclient6 +Type=exec +EnvironmentFile=-/run/dhclient6/%i.options +PIDFile=/run/dhclient6/%i.pid +ExecStart=/sbin/dhclient -6 $DHCLIENT_OPTS +Restart=always + +[Install] +WantedBy=multi-user.target |