1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=IPv4 DHCP server After=network.target [Service] Type=forking PIDFile=/run/dhcpd4.pid ExecStart=/usr/sbin/dhcpd -4 -q -pf /run/dhcpd4.pid ExecReload=/bin/kill -TERM $MAINPID KillSignal=SIGINT [Install] WantedBy=multi-user.target