diff options
Diffstat (limited to 'net-proxy/privoxy/files/privoxy.initd-2')
-rw-r--r-- | net-proxy/privoxy/files/privoxy.initd-2 | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/net-proxy/privoxy/files/privoxy.initd-2 b/net-proxy/privoxy/files/privoxy.initd-2 deleted file mode 100644 index e6b48e5575f3..000000000000 --- a/net-proxy/privoxy/files/privoxy.initd-2 +++ /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 ${SVCNAME}" - start-stop-daemon --start --quiet --exec /usr/sbin/privoxy --pidfile "${PIDFILE}" \ - -- --pidfile "${PIDFILE}" --user privoxy.privoxy "${CONFFILE}" #2>/dev/null - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" - eend $? -} |