packages: tomcat/apache-tomcat.init - stop tomcat with -force (it will send...

pawelz pawelz at pld-linux.org
Tue Nov 24 09:37:11 CET 2009


Author: pawelz                       Date: Tue Nov 24 08:37:11 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- stop tomcat with -force (it will send -KILL at the end. Just to be sure.)

---- Files affected:
packages/tomcat:
   apache-tomcat.init (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/tomcat/apache-tomcat.init
diff -u packages/tomcat/apache-tomcat.init:1.15 packages/tomcat/apache-tomcat.init:1.16
--- packages/tomcat/apache-tomcat.init:1.15	Sun Apr 12 17:37:50 2009
+++ packages/tomcat/apache-tomcat.init	Tue Nov 24 09:37:05 2009
@@ -51,7 +51,7 @@
 		# Stop daemons.
 		msg_stopping tomcat
 		busy
-		su tomcat -s /bin/sh -c '/usr/share/tomcat/bin/catalina.sh stop' >/dev/null 2>&1
+		su tomcat -s /bin/sh -c '/usr/share/tomcat/bin/catalina.sh stop -force' >/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/packages/tomcat/apache-tomcat.init?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list