2 Description=IPv4 DHCP server
3 After=network.target network-online.target
4 Wants=network-online.target
8 ExecStart=/usr/bin/dhcpd -4 -q -cf /etc/dhcpd.conf -pf /run/dhcpd4/dhcpd.pid
9 RuntimeDirectory=dhcpd4
10 PIDFile=/run/dhcpd4/dhcpd.pid
12 AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
16 # We pull in network-online.target for a configured network connection.
17 # However this is not guaranteed to be the network connection our
18 # networks are configured for. So try to restart on failure with a delay
19 # of two seconds. Rate limiting kicks in after 12 seconds.
22 StartLimitInterval=12s
25 WantedBy=multi-user.target