summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-06 04:03:00 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-06 04:03:00 +0000
commit80352b30cf9452fbf047bdf8cbea13e1403211a6 (patch)
tree2accb213f4124fc197fd3e8df608e2ed70ef0e36 /net-www/resin-ee
parentwe license under gpl2, not gpl2 or later (diff)
downloadhistorical-80352b30cf9452fbf047bdf8cbea13e1403211a6.tar.gz
historical-80352b30cf9452fbf047bdf8cbea13e1403211a6.tar.bz2
historical-80352b30cf9452fbf047bdf8cbea13e1403211a6.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