summaryrefslogtreecommitdiff
path: root/aports/mDNSResponder/mdnsresponderposix.initd
blob: 06ba2d17f62d11e4ce7cb2dc0ddf8812b88c4688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
	after firewall
}