1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/net/mDNSResponder/files/mdnsresponder.in
Sunpoet Po-Chuan Hsieh 8c85aa23bf - Add rc script for mDNSResponderPosix
- Bump PORTREVISION for package change

PR:		ports/182721
Submitted by:	Nuno Subtil <subtil@gmail.com>
2013-11-02 12:08:06 +00:00

23 lines
365 B
Bash

#!/bin/sh
#
# $FreeBSD$
# PROVIDE: mdnsresponder
# REQUIRE: DAEMON
# KEYWORD: shutdown
. /etc/rc.subr
name=mdnsresponder
rcvar=mdnsresponder_enable
load_rc_config $name
: ${mdnsresponder_enable="NO"}
: ${mdnsresponder_pidfile="/var/run/${name}.pid"}
command="%%PREFIX%%/bin/mDNSResponderPosix"
command_args="-b -P ${mdnsresponder_pidfile}"
run_rc_command $*