blob: 88ee9d059298631662af49791a96f6a6d6fc7659 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!@SH@
#
# $NetBSD: privoxy.sh,v 1.2 2003/07/12 15:07:49 zuntum 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"
|