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}" }