dhcp/dhcpd@.service
Silvan Calarco 5686855e52 dhclient.conf: use gethostname() as default send hostname
server: remove initscript; add systemd service file [release 4.3.1-2mamba;Tue Dec 23 2014]
2024-01-05 21:45:41 +01:00

15 lines
279 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.pid
ExecStart=/sbin/dhcpd -q -pf /run/dhcpd4.pid %I $DHCPDARGS
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target