summaryrefslogtreecommitdiff
path: root/www/dansguardian/files/dansguardian.sh
blob: 9aa18dbd29baf1d10238ae006b7d8cb1bd5223bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: dansguardian.sh,v 1.1.1.1 2008/02/22 17:13:29 sborrill Exp $
#
# PROVIDE: dansguardian
# REQUIRE: DAEMON LOGIN
# KEYWORD: shutdown

. /etc/rc.subr

name="dansguardian"
rcvar=$name
command="/usr/pkg/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/${name}/${name}.conf"
extra_commands="reload"

load_rc_config $name
run_rc_command "$1"