mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Fix PATH to include java when needed
This commit is contained in:
parent
02e0a47a52
commit
f397dd71a9
@ -170,7 +170,7 @@ function copyFilesForCurseForge() {
|
||||
|
||||
if ! which java > /dev/null; then
|
||||
log "Fixing PATH to include java"
|
||||
PATH="${PATH}:/usr/bin"
|
||||
PATH="${PATH}:/opt/java/openjdk/bin"
|
||||
fi
|
||||
|
||||
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"
|
||||
|
Loading…
Reference in New Issue
Block a user