Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=DHCPv4 Server Daemon |
| 3 | Documentation=man:dhcpd(8) man:dhcpd.conf(5) |
| 4 | After=network.target |
| 5 | After=time-sync.target |
| 6 | |
| 7 | [Service] |
| 8 | PIDFile=@localstatedir@/run/dhcpd.pid |
| 9 | EnvironmentFile=@SYSCONFDIR@/default/dhcp-server |
| 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 |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy=multi-user.target |