Silvan Calarco
5686855e52
server: remove initscript; add systemd service file [release 4.3.1-2mamba;Tue Dec 23 2014]
15 lines
279 B
Desktop File
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
|