By default, generate random RCON password at startup (#2071)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2023-04-07 20:05:09 -05:00
1 parent 8987d2cc81
commit f6ab2aaab3
5 files changed
+14 -4

No files matched your search

+3
View File
@@ -83,6 +83,9 @@ if [[ $RCON_PASSWORD_FILE ]]; then
log ""
fi
# For rcon-cli access
echo "password=${RCON_PASSWORD}" > "$HOME/.rcon-cli.env"
function fixJavaPath() {
# Some Docker management UIs grab all the image declared variables and present them for configuration.
# When upgrading images across Java versions, that creates a mismatch in PATH's expected by base image.