#!@RCD_SCRIPTS_SHELL@ # # $NetBSD: privoxy.sh,v 1.5 2009/02/04 21:20:39 drochner Exp $ # # PROVIDE: privoxy # REQUIRE: DAEMON . /etc/rc.subr name="privoxy" rcvar=$name command="/usr/pkg/sbin/${name}" pidfile="/var/run/${name}.pid" pconfig="@PKG_SYSCONFDIR@/config" puser="@PRIVOXY_USER@" required_files="$pconfig" command_args="--pidfile ${pidfile} --user ${puser} ${pconfig} 2>/dev/null" load_rc_config $name run_rc_command "$1"