[jboss-cvs] JBossAS SVN: r102613 - branches/JBPAPP_5_0/main/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Mar 19 02:34:49 EDT 2010
Author: mladen.turk at jboss.com
Date: 2010-03-19 02:34:49 -0400 (Fri, 19 Mar 2010)
New Revision: 102613
Modified:
branches/JBPAPP_5_0/main/src/bin/run.sh
Log:
Backport fix for the JBPAPP-3797 and JBPAPP-3942 from trunk
Modified: branches/JBPAPP_5_0/main/src/bin/run.sh
===================================================================
--- branches/JBPAPP_5_0/main/src/bin/run.sh 2010-03-19 06:33:18 UTC (rev 102612)
+++ branches/JBPAPP_5_0/main/src/bin/run.sh 2010-03-19 06:34:49 UTC (rev 102613)
@@ -289,6 +289,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