1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/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}" }