From c92f5722b8bef66f2e6d31a669b0ffcc47907a18 Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Mon, 13 Sep 2010 20:53:11 +0000 Subject: [PATCH] apply patch from: https://issues.apache.org/activemq/browse/AMQ-2914 with thanks git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@996686 13f79535-47bb-0310-9956-ffa450edef68 --- assembly/src/release/bin/activemq | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq index b505348e2b..e17ead9f25 100755 --- a/assembly/src/release/bin/activemq +++ b/assembly/src/release/bin/activemq @@ -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