summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2017-02-23 04:09:47 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2017-02-23 04:09:47 +0300
commitd23e1111b60352122aeadbc594310dd7dd9aeeb6 (patch)
tree853b5784fb18f91f3992dc18f925be38d9d2fd1d /net-proxy/privoxy/files/privoxy.initd
parentmedia-gfx/pqiv: update DESCRIPTION (diff)
downloadgentoo-d23e1111b60352122aeadbc594310dd7dd9aeeb6.tar.gz
gentoo-d23e1111b60352122aeadbc594310dd7dd9aeeb6.tar.bz2
gentoo-d23e1111b60352122aeadbc594310dd7dd9aeeb6.zip
net-proxy/privoxy: drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'net-proxy/privoxy/files/privoxy.initd')
-rw-r--r--net-proxy/privoxy/files/privoxy.initd29
1 files changed, 0 insertions, 29 deletions
diff --git a/net-proxy/privoxy/files/privoxy.initd b/net-proxy/privoxy/files/privoxy.initd
deleted file mode 100644
index 6283c0ea9590..000000000000
--- a/net-proxy/privoxy/files/privoxy.initd
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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 $?
-}