git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1034352 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-11-12 11:41:43 +00:00
parent 5db81fad9a
commit eb81c6ef1b
1 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ invokeJar(){
echo \$APID > $PIDFILE; echo \$APID > $PIDFILE;
echo \"INFO: pidfile created : '$PIDFILE' (pid '\$APID')\";exit \$RET" $DOIT_POSTFIX echo \"INFO: pidfile created : '$PIDFILE' (pid '\$APID')\";exit \$RET" $DOIT_POSTFIX
RET="$?" RET="$?"
elif [ -n "$PIDFILE" ] && [ "$PIDFILE" == "stop" ];then elif [ -n "$PIDFILE" ] && [ "$PIDFILE" = "stop" ];then
$DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \ $DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \ -Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \ -Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
@ -513,7 +513,7 @@ invoke_stop(){
COMMANDLINE_ARGS="$COMMANDLINE_ARGS $ACTIVEMQ_SUNJMX_CONTROL" COMMANDLINE_ARGS="$COMMANDLINE_ARGS $ACTIVEMQ_SUNJMX_CONTROL"
invokeJar "stop" invokeJar "stop"
RET="$?" RET="$?"
echo -n "INFO: Waiting at least $ACTIVEMQ_KILL_MAXSECONDS seconds for regular process termination of pid '$(cat $ACTIVEMQ_PIDFILE)' : " echo "INFO: Waiting at least $ACTIVEMQ_KILL_MAXSECONDS seconds for regular process termination of pid '$(cat $ACTIVEMQ_PIDFILE)' : \c"
FOUND="0" FOUND="0"
i=1 i=1
while [ $i != $ACTIVEMQ_KILL_MAXSECONDS ]; do while [ $i != $ACTIVEMQ_KILL_MAXSECONDS ]; do