diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-02-16 14:15:13 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-02-16 14:15:13 +0000 |
commit | fb03e5c884b0b17ed5221567e2864d40677a3806 (patch) | |
tree | 58f2a34c53adc701a02ef47a781880dc01f5e41e /user/unbound/unbound.initd | |
parent | 7c045a52b7ca6e19bb638eb3e4293bdd1716126c (diff) | |
parent | 5665ae7639f810569fd229749371f8ec8bb1eb4c (diff) | |
download | packages-fb03e5c884b0b17ed5221567e2864d40677a3806.tar.gz packages-fb03e5c884b0b17ed5221567e2864d40677a3806.tar.bz2 packages-fb03e5c884b0b17ed5221567e2864d40677a3806.tar.xz packages-fb03e5c884b0b17ed5221567e2864d40677a3806.zip |
Merge branch 'unbound' into 'master'
user/unbound: New package
See merge request !162
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}" +} |