diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-08-28 20:17:06 -0500 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-22 16:14:58 -0300 |
commit | 90cdef590d9a809d8aaa379d7b7af0a7be21669a (patch) | |
tree | 58687b5da505377ea94028d9e6498061dafcf932 /pcr/openrc-net/privoxy.initd | |
parent | 34e667f817febcd3589e20b9d0dcb8cbf6c95fd7 (diff) | |
download | abslibre-90cdef590d9a809d8aaa379d7b7af0a7be21669a.tar.gz abslibre-90cdef590d9a809d8aaa379d7b7af0a7be21669a.tar.bz2 abslibre-90cdef590d9a809d8aaa379d7b7af0a7be21669a.zip |
openrc-net-20150828-1: updating version
Diffstat (limited to 'pcr/openrc-net/privoxy.initd')
-rw-r--r-- | pcr/openrc-net/privoxy.initd | 29 |
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 $? -} |