summaryrefslogtreecommitdiff
path: root/wide-dhcpv6/dhcp6c.service
blob: 5f6caceeca0578951a96d6de30f5a1f77c7dce00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=WIDE-DHCPv6 Client on interface %I
After=network.target
Requires=network.target
Before=dnsmasq.service
Before=NetworkManager.service
Documentation=man:dhcp6c(8) man:dhcp6c.conf(5)

[Service]
EnvironmentFile=/etc/conf.d/startpd.conf
ExecStart=/usr/bin/dhcp6c -c /etc/wide-dhcpv6/dhcp6c.conf -fp /var/run/dhcp6c.pid $DHCP6C_WAN
ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
ExecStop=/usr/bin/kill -s SIGTERM $MAINPID

[Install]
WantedBy=multi-user.target