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

# 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 $*