[jboss-cvs] JBossAS SVN: r102611 - branches/JBPAPP_4_2_0_GA_CP/system/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 19 02:30:10 EDT 2010
Author: mladen.turk at jboss.com
Date: 2010-03-19 02:30:10 -0400 (Fri, 19 Mar 2010)
New Revision: 102611
Modified:
branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh
Log:
Backport fix for the JBPAPP-3797 and JBPAPP-3942 from trunk
Modified: branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh 2010-03-19 06:26:29 UTC (rev 102610)
+++ branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh 2010-03-19 06:30:10 UTC (rev 102611)
@@ -255,6 +255,9 @@
trap "kill -QUIT $JBOSS_PID" QUIT
trap "kill -PIPE $JBOSS_PID" PIPE
trap "kill -TERM $JBOSS_PID" TERM
+ if [ "x$JBOSS_PIDFILE" != "x" ]; then
+ echo $JBOSS_PID > $JBOSS_PIDFILE
+ fi
# Wait until the background process exits
WAIT_STATUS=128
while [ "$WAIT_STATUS" -ge 128 ]; do
More information about the jboss-cvs-commits
mailing list