mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-5378 - shell script improvements - revert stop pid renaming
This commit is contained in:
parent
83631e3068
commit
c266b1069b
|
@ -314,7 +314,7 @@ invokeJar(){
|
||||||
$ACTIVEMQ_CYGWIN \
|
$ACTIVEMQ_CYGWIN \
|
||||||
-jar \"${ACTIVEMQ_HOME}/bin/activemq.jar\" $COMMANDLINE_ARGS --pid $PID &
|
-jar \"${ACTIVEMQ_HOME}/bin/activemq.jar\" $COMMANDLINE_ARGS --pid $PID &
|
||||||
RET=\"\$?\"; APID=\"\$!\";
|
RET=\"\$?\"; APID=\"\$!\";
|
||||||
echo \$APID > "${PIDFILE}.stop"; exit \$RET" $DOIT_POSTFIX
|
echo \$APID > "$ACTIVEMQ_DATA/stop.pid"; exit \$RET" $DOIT_POSTFIX
|
||||||
RET="$?"
|
RET="$?"
|
||||||
else
|
else
|
||||||
$EXEC_OPTION $DOIT_PREFIX "\"$JAVACMD\" $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
$EXEC_OPTION $DOIT_PREFIX "\"$JAVACMD\" $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
||||||
|
|
Loading…
Reference in New Issue