mirror of https://github.com/apache/activemq.git
Revert "AMQ-9460: Don't override ACTIVEMQ_OPTS when provided by user"
This commit is contained in:
parent
3652e480b8
commit
7cbe23974c
|
@ -24,7 +24,7 @@ ENV ACTIVEMQ_HOME $ACTIVEMQ_INSTALL_PATH/apache-activemq
|
||||||
ENV ACTIVEMQ_EXEC exec
|
ENV ACTIVEMQ_EXEC exec
|
||||||
ENV PATH $PATH:$ACTIVEMQ_HOME/bin
|
ENV PATH $PATH:$ACTIVEMQ_HOME/bin
|
||||||
# Make the Web console accesible from outside the container
|
# Make the Web console accesible from outside the container
|
||||||
ENV ACTIVEMQ_OPTS -Djetty.host=0.0.0.0
|
ENV ACTIVEMQ_OPTS $ACTIVEMQ_OPTS -Djetty.host=0.0.0.0
|
||||||
#WORKDIR $ACTIVEMQ_HOME
|
#WORKDIR $ACTIVEMQ_HOME
|
||||||
|
|
||||||
# activemq_dist can point to a directory or a tarball on the local system
|
# activemq_dist can point to a directory or a tarball on the local system
|
||||||
|
|
|
@ -198,6 +198,13 @@ if [ "$CONFIG_LOAD" != "yes" ];then
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$ACTIVEMQ_OPTS" ] ; then
|
||||||
|
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=\"$ACTIVEMQ_CONF\"/login.config"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
# OS SPECIFIC SUPPORT
|
# OS SPECIFIC SUPPORT
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,9 @@
|
||||||
if [ -z "$ACTIVEMQ_OPTS_MEMORY" ] ; then
|
if [ -z "$ACTIVEMQ_OPTS_MEMORY" ] ; then
|
||||||
ACTIVEMQ_OPTS_MEMORY="-Xms64M -Xmx1G"
|
ACTIVEMQ_OPTS_MEMORY="-Xms64M -Xmx1G"
|
||||||
fi
|
fi
|
||||||
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY $ACTIVEMQ_OPTS -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config"
|
if [ -z "$ACTIVEMQ_OPTS" ] ; then
|
||||||
|
ACTIVEMQ_OPTS="$ACTIVEMQ_OPTS_MEMORY -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=$ACTIVEMQ_CONF/login.config"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -z "$ACTIVEMQ_OUT" ]; then
|
if [ -z "$ACTIVEMQ_OUT" ]; then
|
||||||
ACTIVEMQ_OUT="/dev/null"
|
ACTIVEMQ_OUT="/dev/null"
|
||||||
|
|
Loading…
Reference in New Issue