diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-06 03:54:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-06 03:54:20 +0000 |
commit | 8a1995583e6e865cb231898d5b46b495794a59a8 (patch) | |
tree | 1c348a8af4b99285bae459a4dea8def2cb556369 /net-www | |
parent | we license under gpl2, not gpl2 or later (diff) | |
download | historical-8a1995583e6e865cb231898d5b46b495794a59a8.tar.gz historical-8a1995583e6e865cb231898d5b46b495794a59a8.tar.bz2 historical-8a1995583e6e865cb231898d5b46b495794a59a8.zip |
we license under gpl2, not gpl2 or later
Diffstat (limited to 'net-www')
-rw-r--r-- | net-www/apache/files/apache.confd | 6 | ||||
-rw-r--r-- | net-www/boa/files/boa.rc6 | 32 | ||||
-rw-r--r-- | net-www/cherokee/files/cherokee-0.4.5-init.d | 37 |
3 files changed, 37 insertions, 38 deletions
diff --git a/net-www/apache/files/apache.confd b/net-www/apache/files/apache.confd index 33a68eb86eb0..b25c5f58604f 100644 --- a/net-www/apache/files/apache.confd +++ b/net-www/apache/files/apache.confd @@ -1,6 +1,6 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-www/apache/files/apache.confd,v 1.2 2002/05/04 23:23:00 woodchip Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/apache/files/apache.confd,v 1.3 2004/03/06 03:54:20 vapier Exp $ # Config file for /etc/init.d/apache diff --git a/net-www/boa/files/boa.rc6 b/net-www/boa/files/boa.rc6 index 6eb6a558a002..960a30913bda 100644 --- a/net-www/boa/files/boa.rc6 +++ b/net-www/boa/files/boa.rc6 @@ -1,29 +1,29 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-www/boa/files/boa.rc6,v 1.3 2003/02/14 23:10:07 vapier Exp $ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/boa/files/boa.rc6,v 1.4 2004/03/06 03:54:20 vapier Exp $ depend() { - need net + need net } checkconfig() { - if [ ! -e /etc/boa/boa.conf ] ; then - eerror "You need an /etc/boa/boa.conf to run Boa" - eerror "There is a sample file in /usr/share/docs/boa" - return 1 - fi + if [ ! -e /etc/boa/boa.conf ] ; then + eerror "You need an /etc/boa/boa.conf to run Boa" + eerror "There is a sample file in /usr/share/docs/boa" + return 1 + fi } start() { - checkconfig || return 1 - ebegin "Starting Boa" - start-stop-daemon --quiet --start --exec /usr/sbin/boa - eend $? + checkconfig || return 1 + ebegin "Starting Boa" + start-stop-daemon --quiet --start --exec /usr/sbin/boa + eend $? } stop() { - ebegin "Stopping Boa" - start-stop-daemon --quiet --stop --name boa --exec /usr/sbin/boa - eend $? + ebegin "Stopping Boa" + start-stop-daemon --quiet --stop --name boa --exec /usr/sbin/boa + eend $? } diff --git a/net-www/cherokee/files/cherokee-0.4.5-init.d b/net-www/cherokee/files/cherokee-0.4.5-init.d index 452044a30497..71b586f1aca8 100644 --- a/net-www/cherokee/files/cherokee-0.4.5-init.d +++ b/net-www/cherokee/files/cherokee-0.4.5-init.d @@ -1,31 +1,30 @@ #!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-www/cherokee/files/cherokee-0.4.5-init.d,v 1.2 2003/10/05 14:55:44 stuart Exp $ -# +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/cherokee/files/cherokee-0.4.5-init.d,v 1.3 2004/03/06 03:54:20 vapier Exp $ PIDFILE=/var/run/cherokee.pid depend() { - need net + 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/bin/cherokee - eend $? + 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/bin/cherokee + eend $? } stop() { - ebegin "Stopping Cherokee Web Server" - if [ -f ${PIDFILE} ]; then - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} - fi - rm -f ${PIDFILE} - eend $? + ebegin "Stopping Cherokee Web Server" + if [ -f ${PIDFILE} ]; then + start-stop-daemon --stop --quiet --pidfile ${PIDFILE} + fi + rm -f ${PIDFILE} + eend $? } |