summaryrefslogtreecommitdiff
path: root/pcr/openrc-net/privoxy.initd
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-08-28 23:05:00 -0400
committerGaming4JC <g4jc@openmailbox.org>2015-08-28 23:05:00 -0400
commitf46bdf9d5bfc6eeae828539a234e957fe2b2e042 (patch)
tree560f0a1e67351a7a75900b4ddc41a34158873d72 /pcr/openrc-net/privoxy.initd
parent698cfed94cf9c654ecf39a809821359ba6f4c70c (diff)
parentda0dc67b72e2c1a374260ea6ef5aa3f0f805d90d (diff)
merge
Diffstat (limited to 'pcr/openrc-net/privoxy.initd')
-rw-r--r--pcr/openrc-net/privoxy.initd29
1 files changed, 0 insertions, 29 deletions
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 $?
-}