#!/sbin/openrc-run

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

depend() {
	use logger net
	provide dns
}

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