summarylogtreecommitdiffstats
path: root/dhcp6c.service
diff options
context:
space:
mode:
authorSpyros Stathopoulos2015-06-13 14:57:51 +0300
committerSpyros Stathopoulos2015-06-13 14:57:51 +0300
commit90984b9ab7d70b835b507e70a4d96aa76c07c6e7 (patch)
tree272758681f9a26e70f8c53fbd0a92735022ebd5f /dhcp6c.service
downloadaur-90984b9ab7d70b835b507e70a4d96aa76c07c6e7.tar.gz
Initial commit
Diffstat (limited to 'dhcp6c.service')
-rw-r--r--dhcp6c.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/dhcp6c.service b/dhcp6c.service
new file mode 100644
index 000000000000..5f6caceeca05
--- /dev/null
+++ b/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 $DHCP6C_WAN
+ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
+ExecStop=/usr/bin/kill -s SIGTERM $MAINPID
+
+[Install]
+WantedBy=multi-user.target