diff options
Diffstat (limited to 'net-www/cherokee/files/cherokee-0.4.17-init.d')
-rw-r--r-- | net-www/cherokee/files/cherokee-0.4.17-init.d | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net-www/cherokee/files/cherokee-0.4.17-init.d b/net-www/cherokee/files/cherokee-0.4.17-init.d deleted file mode 100644 index 886fef1b9026..000000000000 --- a/net-www/cherokee/files/cherokee-0.4.17-init.d +++ /dev/null @@ -1,30 +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-www/cherokee/files/cherokee-0.4.17-init.d,v 1.1 2004/07/20 18:42:26 mholzer Exp $ - -PIDFILE=/var/run/cherokee.pid - -depend() { - need net -} - -start() { - ebegin "Starting Cherokee Web Server" - # make sure they can't break our startup by passing -d (which would - # cause incorrect PID to be written to pidfile), or the incorrect - # depot root - start-stop-daemon --start --quiet \ - --pidfile ${PIDFILE} --make-pidfile -b \ - --exec /usr/sbin/cherokee - eend $? -} - -stop() { - ebegin "Stopping Cherokee Web Server" - if [ -f ${PIDFILE} ]; then - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} - fi - rm -f ${PIDFILE} - eend $? -} |