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