setting ACTIVEMQ_OPTS after loading configs

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1088989 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2011-04-05 11:42:08 +00:00
parent aa24935f7b
commit 2ebdadabc9
1 changed files with 4 additions and 4 deletions

View File

@ -121,10 +121,6 @@ if [ -z "$ACTIVEMQ_OPTS_MEMORY" ] ; then
ACTIVEMQ_OPTS_MEMORY="-Xms256M -Xmx256M"
fi
if [ -z "$ACTIVEMQ_OPTS" ] ; then
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties"
fi
# Uncomment to enable audit logging
#ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS -Dorg.apache.activemq.audit=true"
@ -214,6 +210,10 @@ if [ "$CONFIG_LOAD" != "yes" ];then
fi
fi
if [ -z "$ACTIVEMQ_OPTS" ] ; then
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties"
fi
# create configuration if requested
if [ "$1" = "setup" ];then
if [ -z "$2" ];then