pkgsrc/net/bind99/files/lwresd.sh
taca 42791c4b44 Importing BIND 9.9.0 as pkgsrc/net/bind99.
Introduction

   BIND 9.9.0 is the first production release of BIND 9.9.

   This document summarizes changes from BIND 9.8 to BIND 9.9.
   Please see the CHANGES file in the source code release for a
   complete list of all changes.

New Features

* The new "inline-signing" option
* NXDOMAIN redirection
* "rndc flushtree <name>" command
* "rndc sync" command
* The new "rndc signing" command
* "auto-dnssec" zones
* Improves the startup time

And more.
2012-03-07 14:25:00 +00:00

25 lines
469 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: lwresd.sh,v 1.1.1.1 2012/03/07 14:25:00 taca Exp $
#
# PROVIDE: lwresd
# REQUIRE: SERVERS
. /etc/rc.subr
name="lwresd"
rcvar=${name}
command="@PREFIX@/sbin/${name}"
pidfile="@VARBASE@/run/lwresd/${name}.pid"
extra_commands="reload"
start_precmd="lwresd_precmd"
lwresd_precmd()
{
if [ ! -d @VARBASE@/run/lwresd ]; then
@MKDIR@ @VARBASE@/run/lwresd
fi
}
load_rc_config ${name} # check /etc/rc.conf.d/named9
run_rc_command "$1"