diff options
Diffstat (limited to 'net-www/resin-ee/files/2.1.9/resin.init')
-rw-r--r-- | net-www/resin-ee/files/2.1.9/resin.init | 10 |
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 |