From 6480a6036e56568f9330fc514e1e531caf2bc4dc Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Fri, 26 Jan 2024 01:52:54 +0100 Subject: [PATCH] Change cwd during run() --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 07e5c5f..6adbf2e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -52,6 +52,7 @@ function accept_eula() { function run() { echo ":: Starting server" + cd /data # We want to use ${ARGS} without using parenthesis # shellcheck disable=SC2086 "/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" -jar "/data/server.jar" ${ARGS}