diff options
author | sborrill <sborrill@pkgsrc.org> | 2008-02-22 17:13:29 +0000 |
---|---|---|
committer | sborrill <sborrill@pkgsrc.org> | 2008-02-22 17:13:29 +0000 |
commit | f54adc018dd6d92d2ddf70ad939562d1a9e0ffb4 (patch) | |
tree | 3011e41fcdc097d791ed2767c8cf94b97f9a55ce /www/dansguardian/files | |
parent | fd0712a4c900e0d8aafbdbd9eed307a1f5f5c065 (diff) | |
download | pkgsrc-f54adc018dd6d92d2ddf70ad939562d1a9e0ffb4.tar.gz |
DansGuardian is a web content filtering proxy for Linux, FreeBSD, OpenBSD,
and Solaris. It relies on a proxy server, for all fetching. The preferred
proxy is Squid, however, DansGuardian should work with any proxy server.
Diffstat (limited to 'www/dansguardian/files')
-rw-r--r-- | www/dansguardian/files/dansguardian.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www/dansguardian/files/dansguardian.sh b/www/dansguardian/files/dansguardian.sh new file mode 100644 index 00000000000..9aa18dbd29b --- /dev/null +++ b/www/dansguardian/files/dansguardian.sh @@ -0,0 +1,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" |