#!/bin/sh # # $FreeBSD: ports/dns/maradns/files/zoneserver.in,v 1.5 2012/01/14 08:55:38 dougb Exp $ # # PROVIDE: zoneserver # REQUIRE: SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # . /etc/rc.subr : ${zoneserver_enable="NO"} : ${maradns_conf="%%PREFIX%%/etc/mararc"} name="zoneserver" rcvar=zoneserver_enable command="%%PREFIX%%/bin/duende" command_args="%%PREFIX%%/sbin/zoneserver -f ${maradns_conf}" pidfile="/var/run/${name}.pid" load_rc_config $name run_rc_command "$1"