SOURCES: jakarta-tomcat.init - share, not lib - maybe that file sh...

blues blues at pld-linux.org
Tue Aug 21 00:08:11 CEST 2007


Author: blues                        Date: Mon Aug 20 22:08:11 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- share, not lib - maybe that file should change name to apache-tomcat

---- Files affected:
SOURCES:
   jakarta-tomcat.init (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/jakarta-tomcat.init
diff -u SOURCES/jakarta-tomcat.init:1.7 SOURCES/jakarta-tomcat.init:1.8
--- SOURCES/jakarta-tomcat.init:1.7	Thu Dec  8 02:02:49 2005
+++ SOURCES/jakarta-tomcat.init	Tue Aug 21 00:08:06 2007
@@ -36,7 +36,7 @@
 	if [ ! -f /var/lock/subsys/tomcat ]; then
 		msg_starting tomcat
 		busy
-		su - http -s /bin/sh -c /usr/lib/tomcat/bin/startup.sh >/dev/null 2>&1
+		su - http -s /bin/sh -c /usr/share/tomcat/bin/startup.sh >/dev/null 2>&1
 		[ $? -ne 0 ] && RETVAL=1
 		[ $RETVAL -eq 0 ] && ok || fail
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/tomcat
@@ -49,7 +49,7 @@
 		# Stop daemons.
 		msg_stopping tomcat
 		busy
-		su - http -s /bin/sh -c /usr/lib/tomcat/bin/shutdown.sh >/dev/null 2>&1
+		su - http -s /bin/sh -c /usr/share/tomcat/bin/shutdown.sh >/dev/null 2>&1
 		[ $? -eq 0 ] && ok || fail
 		rm -f /var/lock/subsys/tomcat
 	else
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/jakarta-tomcat.init?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list