summaryrefslogtreecommitdiff
path: root/aports/mDNSResponder/mdnsresponderposix.initd
diff options
context:
space:
mode:
Diffstat (limited to 'aports/mDNSResponder/mdnsresponderposix.initd')
-rw-r--r--aports/mDNSResponder/mdnsresponderposix.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/aports/mDNSResponder/mdnsresponderposix.initd b/aports/mDNSResponder/mdnsresponderposix.initd
new file mode 100644
index 0000000..b3b7ca7
--- /dev/null
+++ b/aports/mDNSResponder/mdnsresponderposix.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+
+supervisor=supervise-daemon
+name="Multicast and Unicast DNS responder"
+description="Responder for Multicast DNS and DNS Service Discovery"
+
+pidfile="/var/run/$SVCNAME.pid"
+command=/usr/bin/mDNSResponderPosix
+command_args="-P ${pidfile} $MDNSRESPONDERPOSIX_OPTS "
+command_args_background="-b"
+
+depend() {
+ need net mdnsd
+ after firewall
+}