dhcp/dhcpd@.service

15 lines
284 B
Desktop File

[Unit]
Description=DHCP server on %I
Wants=network.target
After=network.target
[Service]
EnvironmentFile=-/etc/sysconfig/dhcpd
Type=forking
PIDFile=/run/dhcpd-%I.pid
ExecStart=/sbin/dhcpd -q -pf /run/dhcpd-%I.pid %I $DHCPDARGS
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target