summaryrefslogtreecommitdiff
path: root/user/nsd/nsd.initd
blob: 981e04ac789016e935fd1ef51709a3b916ce6989 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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}"
}