You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by gt...@apache.org on 2010/09/13 22:53:11 UTC
svn commit: r996686 - /activemq/trunk/assembly/src/release/bin/activemq
Author: gtully
Date: Mon Sep 13 20:53:11 2010
New Revision: 996686
URL: http://svn.apache.org/viewvc?rev=996686&view=rev
Log:
apply patch from: https://issues.apache.org/activemq/browse/AMQ-2914 with thanks
Modified:
activemq/trunk/assembly/src/release/bin/activemq
Modified: activemq/trunk/assembly/src/release/bin/activemq
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/activemq?rev=996686&r1=996685&r2=996686&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/activemq (original)
+++ activemq/trunk/assembly/src/release/bin/activemq Mon Sep 13 20:53:11 2010
@@ -98,7 +98,9 @@ if [ ! -d "$ACTIVEMQ_DATA_DIR" ]; then
fi
# Location of the pidfile
-ACTIVEMQ_PIDFILE="$ACTIVEMQ_DATA_DIR/activemq.pid"
+if [ -z "$ACTIVEMQ_PIDFILE" ]; then
+ ACTIVEMQ_PIDFILE="$ACTIVEMQ_DATA_DIR/activemq.pid"
+fi
# Location of the java installation
# Specify the location of your java installation using JAVA_HOME, or specify the