#!/sbin/openrc-run
# Copyright 2018 Hyperbola Project
# Distributed under the terms of the GNU General Public License v2

description="IPv4 DHCP server service"

command="/usr/sbin/dhcpd"
command_args="-4 -q -user dhcp -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid"

depend() {
	need net
	use logger dns ldap slapd
}
