mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2453 - additional portability improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1034352 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5db81fad9a
commit
eb81c6ef1b
|
@ -361,7 +361,7 @@ invokeJar(){
|
|||
echo \$APID > $PIDFILE;
|
||||
echo \"INFO: pidfile created : '$PIDFILE' (pid '\$APID')\";exit \$RET" $DOIT_POSTFIX
|
||||
RET="$?"
|
||||
elif [ -n "$PIDFILE" ] && [ "$PIDFILE" == "stop" ];then
|
||||
elif [ -n "$PIDFILE" ] && [ "$PIDFILE" = "stop" ];then
|
||||
$DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
||||
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
||||
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
||||
|
@ -513,7 +513,7 @@ invoke_stop(){
|
|||
COMMANDLINE_ARGS="$COMMANDLINE_ARGS $ACTIVEMQ_SUNJMX_CONTROL"
|
||||
invokeJar "stop"
|
||||
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"
|
||||
i=1
|
||||
while [ $i != $ACTIVEMQ_KILL_MAXSECONDS ]; do
|
||||
|
|
Loading…
Reference in New Issue