Skip to content

Commit 00faa95

Browse files
author
Yannick Weber
authored
[HiveMQ] do not delete /opt/hivemq/temp-extensions in startup command (#5509)
* do not delete /opt/hivemq/temp-extensions in startup command * command does not get stuck when '/opt/hivemq/temp-extensions' does not exist
1 parent a2acf3c commit 00faa95

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/hivemq/src/main/java/org/testcontainers/hivemq/HiveMQContainer.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ protected void configure() {
123123
"-c",
124124
removeCommand +
125125
"cp -r '/opt/hivemq/temp-extensions/'* /opt/hivemq/extensions/ " +
126-
"; rm -rf /opt/hivemq/temp-extensions/** " +
127-
"&& chmod -R 777 /opt/hivemq/extensions " +
126+
"; chmod -R 777 /opt/hivemq/extensions " +
128127
"&& /opt/docker-entrypoint.sh /opt/hivemq/bin/run.sh"
129128
);
130129
}

0 commit comments

Comments
 (0)