1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/www/dansguardian/files/dansguardian.sh
Volker Stolz e82e6ebe3f DansGuardian 2.8.0-0 has been released as the new stable version. New features since 2.6.x include:
- Changed process model from fork-on-connect to fork-pool.  This dramatically improves the performance and allows it to scale to many more concurrent users.
- Improved internationalisation language file support.
- Image replacement for advert removal.
- Added support for fully qualified addresses in banned and exception IP lists.
- Added URL Greylists.
- Added filter group support so different filtering settings can be used for different groups of users.
- Added a '-g' gentle restart that does not kill current connections but filter group config is re-read.
- Ident now uses X-Forwarded-For when DansGuardian is configured to use it.
- Added a temporal denied page bypass facility.
- It is no longer needed to run as root to bind to a low port.

PR:		ports/69625
Submitted by:	Freddie Cash (maintainer)
2004-07-28 10:28:59 +00:00

32 lines
648 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: dansguardian
# REQUIRE: DAEMON squid
# BEFORE: LOGIN
# KEYWORD: FreeBSD shutdown
# Define these dansguardian_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/dansguardian
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
dansguardian_enable=${dansguardian_enable:-"NO"}
dansguardian_flags=${dansguardian_flags:-""}
dansguardian_pidfile=${dansguardian_pidfile:-"/var/run/dansguardian.pid"
. %%RC_SUBR%%
name="dansguardian"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/dansguardian"
load_rc_config $name
pidfile="${dansguardian_pidfile}"
run_rc_command "$1"