Hello.

I see that when running ActiveMQ in a docker container, stopping the
container is slow and leaves it with a non zero exit code.

As I use a custom JDBC config file, I run activemq with :

CMD $ACTIVEMQ_HOME/bin/activemq start
xbean:$ACTIVEMQ_HOME/conf/activemq-with-postgresql.xml && bash

Then, I added "exec" to launch the script, but It seems that with
"start", the EXEC_OPTION that is used for "console" is not used.

I also noticed that without "&& bash" the container ends before
ActiveMQ is started...

Does anyone know a magic way to run ActiveMQ in the background, with a
correct graceful stop/shutdown, without changing the packaged shell ?

Thanks.

Regards.

Reply via email to