Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Commit 7c141da

Browse files
committed
Merge remote-tracking branch 'upstream/master' into shrink
2 parents 2bf6f03 + 343fcab commit 7c141da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

server/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,4 @@ EXPOSE 1414
6262
# Always put the MQ data directory in a Docker volume
6363
VOLUME /var/mqm
6464

65-
# Run MQ and health-checking script as the "mqm" user
66-
USER mqm
67-
6865
ENTRYPOINT ["mq.sh"]

server/mq.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ config()
3535
amqmfsck /var/mqm
3636
echo "----------------------------------------"
3737
crtmqm -q ${MQ_QMGR_NAME} || true
38-
strmqm -e CMDLEVEL=${MQ_QMGR_CMDLEVEL} || true
38+
if [ ${MQ_QMGR_CMDLEVEL+x} ]; then
39+
# Enables the specified command level, then stops the queue manager
40+
strmqm -e CMDLEVEL=${MQ_QMGR_CMDLEVEL} || true
41+
fi
3942
echo "----------------------------------------"
4043
fi
4144
strmqm ${MQ_QMGR_NAME}

0 commit comments

Comments
 (0)