blob: 1f1facb1c8081e3b4df7493bae7989075cdafee7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: pdns.sh,v 1.2 2020/09/24 19:09:53 otis 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}/${name}.pid
required_files="@PKG_SYSCONFDIR@/pdns.conf"
load_rc_config $name
run_rc_command "$1"
|