dhcp/dhcpd.service
Jiri Popelka b05a8555ec dhcpd.service: explicitly add -cf to indicate what conf file we use (#819325)
no need to copy /etc/*.conf to /etc/dhcp/*.conf in %prep anymore
2012-05-07 12:14:04 +02:00

11 lines
260 B
Desktop File

[Unit]
Description=DHCPv4 Server Daemon
After=syslog.target network.target
[Service]
EnvironmentFile=/etc/sysconfig/dhcpd
ExecStart=/usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid $DHCPDARGS
[Install]
WantedBy=multi-user.target