aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/dhcpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'clfs/units/dhcpd.service')
-rw-r--r--clfs/units/dhcpd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/clfs/units/dhcpd.service b/clfs/units/dhcpd.service
new file mode 100644
index 0000000..bacfc47
--- /dev/null
+++ b/clfs/units/dhcpd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=ISC DHCP Server
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpd.pid
+EnvironmentFile=/etc/default/dhcpd
+ExecStart=/usr/sbin/dhcpd -pf /run/dhcpd.pid -q $DHCPD_OPTS $DHCPD_INTERFACES
+KillSignal=SIGINT
+
+[Install]
+WantedBy=multi-user.target