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

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

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.