From e060cda2b1fd51423f982c28297238d1e96e6483 Mon Sep 17 00:00:00 2001 From: Jose Alberto Suarez Lopez Date: Mon, 17 Mar 2008 16:02:18 +0000 Subject: New cherokee version (Portage version: 2.1.4.4) --- www-servers/cherokee/files/cherokee-initd-0.6 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 www-servers/cherokee/files/cherokee-initd-0.6 (limited to 'www-servers/cherokee/files') diff --git a/www-servers/cherokee/files/cherokee-initd-0.6 b/www-servers/cherokee/files/cherokee-initd-0.6 new file mode 100644 index 000000000000..6f9c7cfd0c8d --- /dev/null +++ b/www-servers/cherokee/files/cherokee-initd-0.6 @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/cherokee/files/cherokee-initd-0.6,v 1.1 2008/03/17 16:02:18 bass Exp $ + +PIDFILE=/var/run/cherokee-guardian.pid + +depend() { + need net +} + +start() { + ebegin "Starting Cherokee Web Server" + start-stop-daemon --start -b --pidfile ${PIDFILE} \ + --exec /usr/sbin/cherokee-guardian + eend $? +} + +stop() { + ebegin "Stopping Cherokee Web Server" + start-stop-daemon --stop -s 9 --pidfile ${PIDFILE} \ + --exec /usr/sbin/cherokee-guardian + eend $? +} -- cgit v1.2.3-65-gdbad