summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alberto Suarez Lopez <bass@gentoo.org>2008-03-17 16:02:18 +0000
committerJose Alberto Suarez Lopez <bass@gentoo.org>2008-03-17 16:02:18 +0000
commite060cda2b1fd51423f982c28297238d1e96e6483 (patch)
tree3f1b35d14ba82246c195b589475c035462f4439f /www-servers/cherokee/files
parentAdd maintainer-needed to metadata.xml. (diff)
downloadgentoo-2-e060cda2b1fd51423f982c28297238d1e96e6483.tar.gz
gentoo-2-e060cda2b1fd51423f982c28297238d1e96e6483.tar.bz2
gentoo-2-e060cda2b1fd51423f982c28297238d1e96e6483.zip
New cherokee version
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-servers/cherokee/files')
-rw-r--r--www-servers/cherokee/files/cherokee-initd-0.624
1 files changed, 24 insertions, 0 deletions
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 $?
+}