pkgsrc/www/tinyproxy/files/tinyproxy.sh
salo 00619c7d9e Import of tinyproxy-1.5.2: lightweight HTTP/SSL proxy.
tinyproxy is a lightweight HTTP/SSL proxy. Designed from the ground up to be
fast and yet small, it is an ideal solution for sites where a full-featured
HTTP proxy is required, but the system resources required to run a more
demanding HTTP proxy are unavailable. tinyproxy is fully compatible with all
existing web browsers.

Package submitted by Juan RP via PR pkg/20595 with modifications by me.
2003-03-07 23:46:01 +00:00

18 lines
315 B
Bash
Executable file

#!/bin/sh
#
# $NetBSD: tinyproxy.sh,v 1.1.1.1 2003/03/07 23:46:01 salo Exp $
#
# PROVIDE: tinyproxy
# REQUIRE: DAEMON
. /etc/rc.subr
name="tinyproxy"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/$name.conf"
load_rc_config $name
run_rc_command "$1"