mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 06:12:27 +00:00
parent
4168821ec4
commit
2b0fd2e5c0
1 changed files with 4 additions and 0 deletions
|
@ -225,6 +225,10 @@ EOF
|
||||||
else
|
else
|
||||||
exec mc-server-runner ${mcServerRunnerArgs} "${finalArgs[@]}"
|
exec mc-server-runner ${mcServerRunnerArgs} "${finalArgs[@]}"
|
||||||
fi
|
fi
|
||||||
|
elif [[ -x run.sh ]]; then
|
||||||
|
log "Using Forge supplied run.sh script..."
|
||||||
|
echo $JVM_XX_OPTS $JVM_OPTS $expandedDOpts > user_jvm_args.txt
|
||||||
|
exec mc-server-runner ${mcServerRunnerArgs} --shell bash run.sh
|
||||||
else
|
else
|
||||||
# If we have a bootstrap.txt file... feed that in to the server stdin
|
# If we have a bootstrap.txt file... feed that in to the server stdin
|
||||||
if [ -f /data/bootstrap.txt ]; then
|
if [ -f /data/bootstrap.txt ]; then
|
||||||
|
|
Loading…
Reference in a new issue