Author: pawelz Date: Fri Jan 23 20:17:39 2009 GMT Module: SOURCES Tag: HEAD ---- Log message: - s/su -/su/ (pass env variables to tomcat)
---- Files affected: SOURCES: apache-tomcat.init (1.10 -> 1.11) ---- Diffs: ================================================================ Index: SOURCES/apache-tomcat.init diff -u SOURCES/apache-tomcat.init:1.10 SOURCES/apache-tomcat.init:1.11 --- SOURCES/apache-tomcat.init:1.10 Fri Oct 3 20:55:06 2008 +++ SOURCES/apache-tomcat.init Fri Jan 23 21:17:33 2009 @@ -33,7 +33,7 @@ if [ ! -f /var/lock/subsys/tomcat ]; then msg_starting tomcat busy - su - http -s /bin/sh -c /usr/share/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 if [ $RETVAL -eq 0 ]; then ok @@ -51,7 +51,7 @@ # Stop daemons. msg_stopping tomcat busy - su - http -s /bin/sh -c /usr/share/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/apache-tomcat.init?r1=1.10&r2=1.11&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit