summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-06 04:04:00 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-06 04:04:00 +0000
commit89c6bae6b76ed90a4c121dd6881e7c1b2515b4ee (patch)
treec010d7d461dce79f25d60d8a83e66ae0beb48662 /net-www/resin-ee
parentwe license under gpl2, not gpl2 or later (diff)
downloadgentoo-2-89c6bae6b76ed90a4c121dd6881e7c1b2515b4ee.tar.gz
gentoo-2-89c6bae6b76ed90a4c121dd6881e7c1b2515b4ee.tar.bz2
gentoo-2-89c6bae6b76ed90a4c121dd6881e7c1b2515b4ee.zip
we license under gpl2, not gpl2 or later
Diffstat (limited to 'net-www/resin-ee')
-rw-r--r--net-www/resin-ee/files/2.1.9/resin.init10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-www/resin-ee/files/2.1.9/resin.init b/net-www/resin-ee/files/2.1.9/resin.init
index a4aeaa79f976..922c9d9732b7 100644
--- a/net-www/resin-ee/files/2.1.9/resin.init
+++ b/net-www/resin-ee/files/2.1.9/resin.init
@@ -1,7 +1,7 @@
#!/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/resin-ee/files/2.1.9/resin.init,v 1.1 2003/04/30 13:56:44 absinthe 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/resin-ee/files/2.1.9/resin.init,v 1.2 2004/03/06 03:59:34 vapier Exp $
depend() {
need net
@@ -15,14 +15,14 @@ start() {
eend $?
}
-stop () {
+stop() {
ebegin "Stopping Resin Enterprise"
su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_STOP}"
sleep 2
eend $?
}
-svc_restart () {
+restart() {
ebegin "Restarting Resin Enterprise"
su - ${RESIN_USER} -c "/opt/resin/bin/httpd.sh ${RESIN_STOP}"
sleep 5