From 90cdef590d9a809d8aaa379d7b7af0a7be21669a Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 28 Aug 2015 20:17:06 -0500 Subject: openrc-net-20150828-1: updating version --- pcr/openrc-net/privoxy.initd | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 pcr/openrc-net/privoxy.initd (limited to 'pcr/openrc-net/privoxy.initd') diff --git a/pcr/openrc-net/privoxy.initd b/pcr/openrc-net/privoxy.initd deleted file mode 100644 index 84d6186d9..000000000 --- a/pcr/openrc-net/privoxy.initd +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/files/privoxy.initd,v 1.2 2007/11/14 05:14:56 mrness Exp $ - -CONFFILE=/etc/${SVCNAME}/config -PIDFILE=/var/run/${SVCNAME}.pid - -depend() { - need net -} - -start() { - if [ ! -f "${CONFFILE}" ]; then - eerror "Configuration file ${CONFFILE} not found!" - return 1 - fi - - ebegin "Starting privoxy" - start-stop-daemon --start --quiet --exec /usr/sbin/privoxy --pidfile "${PIDFILE}" \ - -- --pidfile "${PIDFILE}" --user privoxy.privoxy "${CONFFILE}" #2>/dev/null - eend $? -} - -stop() { - ebegin "Stopping privoxy" - start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" - eend $? -} -- cgit v1.2.3