summaryrefslogtreecommitdiff
path: root/extra/dhcp/dhcpd6.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/dhcp/dhcpd6.service')
-rw-r--r--extra/dhcp/dhcpd6.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/dhcp/dhcpd6.service b/extra/dhcp/dhcpd6.service
new file mode 100644
index 000000000..eb3b337c6
--- /dev/null
+++ b/extra/dhcp/dhcpd6.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=IPv6 DHCP server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpd6.pid
+ExecStart=/usr/sbin/dhcpd -6 -q -pf /run/dhcpd6.pid
+ExecReload=/bin/kill -TERM $MAINPID
+KillSignal=SIGINT
+
+[Install]
+WantedBy=multi-user.target