diff options
author | 2012-11-21 15:38:15 +0000 | |
---|---|---|
committer | 2012-11-21 15:38:15 +0000 | |
commit | ef5c3e1e5917d0e6f52b76bece2f3ca6b689e62b (patch) | |
tree | ec0efa1b9f8831c411fe3df4943cef0cca4267bd /net-proxy/tinyproxy/files | |
parent | Old. (diff) | |
download | gentoo-2-ef5c3e1e5917d0e6f52b76bece2f3ca6b689e62b.tar.gz gentoo-2-ef5c3e1e5917d0e6f52b76bece2f3ca6b689e62b.tar.bz2 gentoo-2-ef5c3e1e5917d0e6f52b76bece2f3ca6b689e62b.zip |
Remove keepdir /var/run/${PN} by Cedric Godin (bug #444167).
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-proxy/tinyproxy/files')
-rw-r--r-- | net-proxy/tinyproxy/files/tinyproxy.initd | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/net-proxy/tinyproxy/files/tinyproxy.initd b/net-proxy/tinyproxy/files/tinyproxy.initd deleted file mode 100644 index bee5d041fbdc..000000000000 --- a/net-proxy/tinyproxy/files/tinyproxy.initd +++ /dev/null @@ -1,45 +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/tinyproxy/files/tinyproxy.initd,v 1.1 2008/02/16 07:11:25 mrness Exp $ - -CONFFILE="/etc/tinyproxy/${SVCNAME}.conf" - -depend() { - use logger dns - need net -} - -checkconfig() { - if [ ! -f "${CONFFILE}" ]; then - eerror "Configuration file ${CONFFILE} not found!" - return 1 - fi - - PIDFILE=$(sed -n -e 's/^[[:space:]]*PidFile[[:space:]]\+"\(.*\)"[[:space:]]*$/\1/p' "${CONFFILE}") - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting tinyproxy" - if [ -n "${PIDFILE}" ]; then - start-stop-daemon --start --pidfile "${PIDFILE}" --startas /usr/sbin/tinyproxy -- -c "${CONFFILE}" - else - start-stop-daemon --start --exec /usr/sbin/tinyproxy -- -c "${CONFFILE}" - fi - eend $? -} - -stop() { - checkconfig || return 1 - - ebegin "Stopping tinyproxy" - if [ -n "${PIDFILE}" ]; then - start-stop-daemon --stop --pidfile "${PIDFILE}" - else - start-stop-daemon --stop --exec /usr/sbin/tinyproxy - fi - eend $? -} |