dhcp/dhcpd.service
2014-06-17 16:24:23 +04:00

13 lines
397 B
Desktop File

[Unit]
Description=DHCPv4 Server Daemon
After=syslog.target network.target ldap.service
[Service]
Environment=CONFIGFILE=/etc/dhcpd.conf LEASEFILE=/var/lib/dhcpd/dhcpd.leases
EnvironmentFile=-/etc/sysconfig/dhcpd
Type=forking
PIDFile=/run/dhcpd/dhcpd.pid
ExecStart=/usr/sbin/dhcpd -pf /run/dhcpd/dhcpd.pid -cf $CONFIGFILE -lf $LEASEFILE $OPTIONS $INTERFACES
[Install]
WantedBy=multi-user.target