File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,8 @@ start_docker_rabbitmq() {
164164 if [ -f ${RABBITMQ_CONFIG_DIR} /enabled_plugins ]; then
165165 cp ${RABBITMQ_CONFIG_DIR} /enabled_plugins $CONF_DIR /rabbitmq
166166 fi
167- if [ -d ${RABBITMQ_CONFIG_DIR} /certs ]; then
168- mkdir -p $CONF_DIR /rabbitmq/certs
169- cp -r ${RABBITMQ_CONFIG_DIR} /certs $CONF_DIR /rabbitmq/certs
167+ if [ -d " ${RABBITMQ_CONFIG_DIR} /certs" ]; then
168+ cp -r ${RABBITMQ_CONFIG_DIR} /certs $CONF_DIR /rabbitmq
170169 fi
171170 if [ -d ${RABBITMQ_CONFIG_DIR} /imports ]; then
172171 cp -r ${RABBITMQ_CONFIG_DIR} /imports $CONF_DIR /rabbitmq
@@ -188,5 +187,6 @@ start_docker_rabbitmq() {
188187 ${RABBITMQ_DOCKER_IMAGE}
189188
190189 wait_for_message rabbitmq " Server startup complete"
190+ docker exec rabbitmq ls /etc/rabbitmq/certs
191191 end " RabbitMQ ready"
192192}
You can’t perform that action at this time.
0 commit comments