summaryrefslogtreecommitdiff
path: root/src/systemd/dhclient6@.service
blob: d871e735402299293a1c246823718799c540cf49 (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)
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