dhcp/dhcpd@.service

15 lines
279 B
SYSTEMD
Raw Permalink Normal View History

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