summaryrefslogtreecommitdiff
path: root/net/mDNSResponder/files/mdnsresponderposix.in
blob: 149e1edb10e77c11bbeefb6c949259e239b5efaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

# PROVIDE: mdnsresponderposix
# REQUIRE: DAEMON
# KEYWORD: shutdown

. /etc/rc.subr

name=mdnsresponderposix
rcvar=mdnsresponderposix_enable

load_rc_config $name

: ${mdnsresponderposix_enable="NO"}
: ${mdnsresponderposix_pidfile="/var/run/${name}.pid"}

command="%%PREFIX%%/bin/mDNSResponderPosix"
command_args="-b -P ${mdnsresponderposix_pidfile}"

run_rc_command $*