We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fef391 commit 796f2feCopy full SHA for 796f2fe
start-configuration
@@ -45,6 +45,22 @@ if [[ $PROXY ]]; then
45
sleep 5
46
fi
47
48
+if [[ $RCON_PASSWORD_FILE ]]; then
49
+ log ""
50
+ if [ ! -e ${RCON_PASSWORD_FILE} ]; then
51
+ log "Initial RCON password file ${RCON_PASSWORD_FILE} does not seems to exist."
52
+ log "Please ensure your configuration."
53
+ log "If you are using Docker Secrets feature, please check this for further information: "
54
+ log " https://docs.docker.com/engine/swarm/secrets"
55
56
+ exit 1
57
+ else
58
+ RCON_PASSWORD=$(cat ${RCON_PASSWORD_FILE})
59
+ export RCON_PASSWORD
60
+ fi
61
62
+fi
63
+
64
export SERVER_PROPERTIES=/data/server.properties
65
export VERSIONS_JSON=https://launchermeta.mojang.com/mc/game/version_manifest.json
66
0 commit comments