https://issues.apache.org/jira/browse/AMQ-5378 - shell script improvements - revert stop pid renaming

This commit is contained in:
Dejan Bosanac 2014-12-23 16:19:16 +01:00
parent 83631e3068
commit c266b1069b
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ invokeJar(){
$ACTIVEMQ_CYGWIN \
-jar \"${ACTIVEMQ_HOME}/bin/activemq.jar\" $COMMANDLINE_ARGS --pid $PID &
RET=\"\$?\"; APID=\"\$!\";
echo \$APID > "${PIDFILE}.stop"; exit \$RET" $DOIT_POSTFIX
echo \$APID > "$ACTIVEMQ_DATA/stop.pid"; exit \$RET" $DOIT_POSTFIX
RET="$?"
else
$EXEC_OPTION $DOIT_PREFIX "\"$JAVACMD\" $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \