Skip to content

Commit

Permalink
[HiveMQ] do not delete /opt/hivemq/temp-extensions in startup command (
Browse files Browse the repository at this point in the history
…#5509)

* do not delete /opt/hivemq/temp-extensions in startup command
* command does not get stuck when '/opt/hivemq/temp-extensions' does not exist
  • Loading branch information
Yannick Weber authored Jun 22, 2022
1 parent a2acf3c commit 00faa95
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ protected void configure() {
"-c",
removeCommand +
"cp -r '/opt/hivemq/temp-extensions/'* /opt/hivemq/extensions/ " +
"; rm -rf /opt/hivemq/temp-extensions/** " +
"&& chmod -R 777 /opt/hivemq/extensions " +
"; chmod -R 777 /opt/hivemq/extensions " +
"&& /opt/docker-entrypoint.sh /opt/hivemq/bin/run.sh"
);
}
Expand Down

0 comments on commit 00faa95

Please sign in to comment.