summaryrefslogtreecommitdiff
path: root/www/tinyproxy/files
diff options
context:
space:
mode:
authorsalo <salo>2003-03-07 23:46:01 +0000
committersalo <salo>2003-03-07 23:46:01 +0000
commita04bdbd5864064d548df3de20aab96ba96eea98b (patch)
treefd50bc4e6e1bb91d72425693c4c5407ac395ecdc /www/tinyproxy/files
parent2795ed1611beb75a19c72911649d9a84cb1ed09d (diff)
downloadpkgsrc-a04bdbd5864064d548df3de20aab96ba96eea98b.tar.gz
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.
Diffstat (limited to 'www/tinyproxy/files')
-rwxr-xr-xwww/tinyproxy/files/tinyproxy.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/tinyproxy/files/tinyproxy.sh b/www/tinyproxy/files/tinyproxy.sh
new file mode 100755
index 00000000000..9709f3faeee
--- /dev/null
+++ b/www/tinyproxy/files/tinyproxy.sh
@@ -0,0 +1,18 @@
+#!/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"