diff options
Diffstat (limited to 'meta/recipes-connectivity/dhcp/files/dhcpd.service')
-rw-r--r-- | meta/recipes-connectivity/dhcp/files/dhcpd.service | 8 |
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] |
2 | Description=DHCP Server Daemon | 2 | Description=DHCPv4 Server Daemon |
3 | Documentation=man:dhcpd(8) man:dhcpd.conf(5) | ||
3 | After=network.target | 4 | After=network.target |
4 | After=time-sync.target | 5 | After=time-sync.target |
5 | 6 | ||
6 | [Service] | 7 | [Service] |
8 | PIDFile=@localstatedir@/run/dhcpd.pid | ||
7 | EnvironmentFile=@SYSCONFDIR@/default/dhcp-server | 9 | EnvironmentFile=@SYSCONFDIR@/default/dhcp-server |
8 | ExecStart=-@SBINDIR@/dhcpd -q $INTERFACES | 10 | EnvironmentFile=-@SYSCONFDIR@/sysconfig/dhcp-server |
11 | ExecStartPre=@base_bindir@/touch @localstatedir@/lib/dhcp/dhcpd.leases | ||
12 | ExecStart=@SBINDIR@/dhcpd -f -cf @SYSCONFDIR@/dhcp/dhcpd.conf -pf @localstatedir@/run/dhcpd.pid $DHCPDARGS -q $INTERFACES | ||
9 | 13 | ||
10 | [Install] | 14 | [Install] |
11 | WantedBy=multi-user.target | 15 | WantedBy=multi-user.target |