diff options
author | Luis Ressel <aranea@aixah.de> | 2019-02-08 22:19:53 +0100 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2019-02-16 18:43:44 +0100 |
commit | fad97d18b3b4e56c0933b61a5801b060dcf99be5 (patch) | |
tree | 3937cee15733692ce33956fc3688b1d7bab2469d /user/nsd/nsd.initd | |
parent | e0af0d73c2d344338bed830d56358276e4b2cb8c (diff) | |
download | packages-fad97d18b3b4e56c0933b61a5801b060dcf99be5.tar.gz packages-fad97d18b3b4e56c0933b61a5801b060dcf99be5.tar.bz2 packages-fad97d18b3b4e56c0933b61a5801b060dcf99be5.tar.xz packages-fad97d18b3b4e56c0933b61a5801b060dcf99be5.zip |
user/nsd: New package
Diffstat (limited to 'user/nsd/nsd.initd')
-rw-r--r-- | user/nsd/nsd.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/user/nsd/nsd.initd b/user/nsd/nsd.initd new file mode 100644 index 000000000..981e04ac7 --- /dev/null +++ b/user/nsd/nsd.initd @@ -0,0 +1,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}" +} |