blob: fd69e4d48876dc620b986f1f1942c3fb6211d764 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=DHCPv6 client on %i
Documentation=man:dhclient(8)
ConditionPathExists=/var/lib/dhcp/dhclient_v6_%i.conf
ConditionPathExists=/var/lib/dhcp/dhclient_v6_%i.options
After=vyos-router.service
[Service]
WorkingDirectory=/var/lib/dhcp
Type=exec
EnvironmentFile=-/var/lib/dhcp/dhclient_v6_%i.options
PIDFile=/var/lib/dhcp/dhclient_v6_%i.pid
ExecStart=/sbin/dhclient -6 $DHCLIENT_OPTS
ExecStop=/sbin/dhclient -6 $DHCLIENT_OPTS -r
Restart=always
[Install]
WantedBy=multi-user.target
|