pkgsrc/net/powerdns/files/pdns.sh
ghen 8fabc7f19f Import net/powerdns, based on wip/pdns2 from pkgsrc-wip.
The PowerDNS nameserver is a modern, advanced and high performance
authoritative-only nameserver.  It is written from scratch and conforms
to all the relevant DNS standards documents.  PowerDNS is open source.

The PowerDNS nameserver utilizes a flexible backend architecture that
can access DNS information from any data source.  This includes file
formats, Bind zone files, relational databases or LDAP directories.

See the net/powerdns-* packages for additional backend modules.
2006-08-13 09:34:21 +00:00

19 lines
341 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: pdns.sh,v 1.1.1.1 2006/08/13 09:34:21 ghen Exp $
#
# PROVIDE: pdns
# REQUIRE: DAEMON
. /etc/rc.subr
name="pdns"
rcvar=$name
command="@PREFIX@/sbin/pdns_server"
command_args="--daemon=yes"
pidfile=/var/run/${name}.pid
required_files="@PKG_SYSCONFDIR@/pdns.conf"
load_rc_config $name
run_rc_command "$1"