diff options
author | Luis Ressel <aranea@aixah.de> | 2019-01-29 10:11:57 +0100 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2019-01-29 13:46:09 +0100 |
commit | 5665ae7639f810569fd229749371f8ec8bb1eb4c (patch) | |
tree | a7e5b0830430681181d2b72d65cf1d291c3422bc /user/unbound/unbound.initd | |
parent | 38abc8ab60bb141792bfca8c4df7a899e3810acb (diff) | |
download | packages-5665ae7639f810569fd229749371f8ec8bb1eb4c.tar.gz packages-5665ae7639f810569fd229749371f8ec8bb1eb4c.tar.bz2 packages-5665ae7639f810569fd229749371f8ec8bb1eb4c.tar.xz packages-5665ae7639f810569fd229749371f8ec8bb1eb4c.zip |
user/unbound: New package
Diffstat (limited to 'user/unbound/unbound.initd')
-rw-r--r-- | user/unbound/unbound.initd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user/unbound/unbound.initd b/user/unbound/unbound.initd new file mode 100644 index 000000000..0ffc19aba --- /dev/null +++ b/user/unbound/unbound.initd @@ -0,0 +1,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}" +} |