summaryrefslogtreecommitdiff
path: root/wide-dhcpv6/dhcp6c.service
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-12-03 12:15:25 +0100
committerErich Eckner <git@eckner.net>2022-12-03 12:15:25 +0100
commit70c26a6d6a4d52266dbe31fed11fb41874600328 (patch)
tree46ed02075bb8d4f1f1190c4b9d4f90113742f718 /wide-dhcpv6/dhcp6c.service
parent45d927998351e693de1ec404d46a4dd07c512cdd (diff)
downloadarchlinuxewe-70c26a6d6a4d52266dbe31fed11fb41874600328.tar.xz
wide-dhcpv6 new
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..5f6caceec
--- /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 $DHCP6C_WAN
+ExecReload=/usr/bin/kill -s SIGHUP $MAINPID
+ExecStop=/usr/bin/kill -s SIGTERM $MAINPID
+
+[Install]
+WantedBy=multi-user.target