diff --git a/Minecraft-Realms-Emulator/Resources/files/template/entrypoint b/Minecraft-Realms-Emulator/Resources/files/template/entrypoint index 3abcd43..8e4ad6e 100644 --- a/Minecraft-Realms-Emulator/Resources/files/template/entrypoint +++ b/Minecraft-Realms-Emulator/Resources/files/template/entrypoint @@ -1,7 +1,7 @@ #!/bin/sh RCON_PASSWORD="$(openssl rand -hex 20)" -echo "password: $RCON_PASSWORD" >> /root/.rcon-cli.yaml +[ ! -f /root/.rcon-cli.yaml ] && echo "password: $RCON_PASSWORD" > /root/.rcon-cli.yaml [ ! -f eula.txt ] && echo "eula=true" > eula.txt