freebsd-ports/dns/maradns/files/Deadwood.in
Mathieu Arnold f3a13d06cd Update dns/maradns to 2.0.09.
Copy maradns 1.4.14 to dns/maradns1.

Sponsored by:	Absolight
2014-02-20 15:44:56 +00:00

25 lines
403 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: Deadwood
# REQUIRE: SERVERS
# BEFORE: DAEMON
# KEYWORD: shutdown
#
. /etc/rc.subr
: ${dwood3_enable="NO"}
: ${dwood3_conf="%%ETCDIR%%/dwood3rc"}
name="Deadwood"
rcvar=dwood3_enable
command="%%PREFIX%%/bin/duende"
pidfile="/var/run/${name}.pid"
command_args="--pid=${pidfile} %%PREFIX%%/sbin/Deadwood -f ${dwood3_conf}"
load_rc_config $name
run_rc_command "$1"