summaryrefslogtreecommitdiff
path: root/wide-dhcpv6/dhcp6c@.service
diff options
context:
space:
mode:
Diffstat (limited to 'wide-dhcpv6/dhcp6c@.service')
-rw-r--r--wide-dhcpv6/dhcp6c@.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/wide-dhcpv6/dhcp6c@.service b/wide-dhcpv6/dhcp6c@.service
new file mode 100644
index 000000000..597f53ed8
--- /dev/null
+++ b/wide-dhcpv6/dhcp6c@.service
@@ -0,0 +1,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 %I
+ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
+ExecStop=/usr/bin/kill -s SIGTERM $MAINPID
+
+[Install]
+WantedBy=multi-user.target