#!/sbin/openrc-run

name="nsd"
command="/usr/sbin/nsd"
command_args="${nsd_opts}"
pidfile="/run/nsd.pid"
extra_started_commands="reload"

depend() {
	use logger net
}

reload() {
	start-stop-daemon --signal HUP --pidfile "${pidfile}"
}