diff options
Diffstat (limited to 'www-proxy/tinyproxy/files')
-rw-r--r-- | www-proxy/tinyproxy/files/digest-tinyproxy-1.6.1 | 1 | ||||
-rw-r--r-- | www-proxy/tinyproxy/files/digest-tinyproxy-1.6.2 | 1 | ||||
-rw-r--r-- | www-proxy/tinyproxy/files/tinyproxy.rc | 26 |
3 files changed, 28 insertions, 0 deletions
diff --git a/www-proxy/tinyproxy/files/digest-tinyproxy-1.6.1 b/www-proxy/tinyproxy/files/digest-tinyproxy-1.6.1 new file mode 100644 index 000000000000..4e22b179c857 --- /dev/null +++ b/www-proxy/tinyproxy/files/digest-tinyproxy-1.6.1 @@ -0,0 +1 @@ +MD5 e4164b06bbd296dd312df22465a550f6 tinyproxy-1.6.1.tar.gz 369870 diff --git a/www-proxy/tinyproxy/files/digest-tinyproxy-1.6.2 b/www-proxy/tinyproxy/files/digest-tinyproxy-1.6.2 new file mode 100644 index 000000000000..5bc1da061a22 --- /dev/null +++ b/www-proxy/tinyproxy/files/digest-tinyproxy-1.6.2 @@ -0,0 +1 @@ +MD5 08abe93ebd3a229a68e471bb5e013c46 tinyproxy-1.6.2.tar.gz 463274 diff --git a/www-proxy/tinyproxy/files/tinyproxy.rc b/www-proxy/tinyproxy/files/tinyproxy.rc new file mode 100644 index 000000000000..fc40cce2ea00 --- /dev/null +++ b/www-proxy/tinyproxy/files/tinyproxy.rc @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-proxy/tinyproxy/files/tinyproxy.rc,v 1.1 2004/08/15 19:09:23 stuart Exp $ + +depend() { + use logger dns + need net +} + +start() { + ebegin "Starting tinyproxy" + /usr/sbin/tinyproxy + eend $? +} + +stop() { + local pid=0 + if [ -f /var/run/tinyproxy.pid ] ; then + pid=$(</var/run/tinyproxy.pid) + rm /var/run/tinyproxy.pid + fi + ebegin "Stopping tinyproxy" + [ ${pid} -ne 0 ] && kill ${pid} + eend $? +} |