summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/files/dhcpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/dhcp/files/dhcpd.service')
-rw-r--r--meta/recipes-connectivity/dhcp/files/dhcpd.service8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/dhcp/files/dhcpd.service b/meta/recipes-connectivity/dhcp/files/dhcpd.service
index 8648f1a253..ae4f93eca5 100644
--- a/meta/recipes-connectivity/dhcp/files/dhcpd.service
+++ b/meta/recipes-connectivity/dhcp/files/dhcpd.service
@@ -1,11 +1,15 @@
1[Unit] 1[Unit]
2Description=DHCP Server Daemon 2Description=DHCPv4 Server Daemon
3Documentation=man:dhcpd(8) man:dhcpd.conf(5)
3After=network.target 4After=network.target
4After=time-sync.target 5After=time-sync.target
5 6
6[Service] 7[Service]
8PIDFile=@localstatedir@/run/dhcpd.pid
7EnvironmentFile=@SYSCONFDIR@/default/dhcp-server 9EnvironmentFile=@SYSCONFDIR@/default/dhcp-server
8ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES 10EnvironmentFile=-@SYSCONFDIR@/sysconfig/dhcp-server
11ExecStartPre=@base_bindir@/touch @localstatedir@/lib/dhcp/dhcpd.leases
12ExecStart=@SBINDIR@/dhcpd -f -cf @SYSCONFDIR@/dhcp/dhcpd.conf -pf @localstatedir@/run/dhcpd.pid $DHCPDARGS -q $INTERFACES
9 13
10[Install] 14[Install]
11WantedBy=multi-user.target 15WantedBy=multi-user.target