18 lines
312 B
Bash
18 lines
312 B
Bash
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $NetBSD: pdns.sh,v 1.2 2003/07/14 17:55:31 xtraeme Exp $
|
|
#
|
|
|
|
# PROVIDE: pdns
|
|
# REQUIRE: DAEMON
|
|
|
|
. /etc/rc.subr
|
|
|
|
name="pdns"
|
|
rcvar=$name
|
|
command="@PREFIX@/sbin/pdns_server"
|
|
pidfile=/var/run/${name}.pid
|
|
required_files="@PKG_SYSCONFDIR@/pdns.conf"
|
|
|
|
load_rc_config $name
|
|
run_rc_command "$1"
|