1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=DHCP server After=network.target [Service] Type=forking PIDFile=/run/dhcpd.pid ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $OPTIONS $INTERFACES KillSignal=SIGINT EnvironmentFile=-/etc/default/dhcpd [Install] WantedBy=multi-user.target