Compare commits
2 commits
89717991eb
...
5f8a9a026d
Author | SHA1 | Date | |
---|---|---|---|
5f8a9a026d | |||
27cf8077a7 |
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ function check() {
|
||||||
# Compile server arguments
|
# Compile server arguments
|
||||||
function compile_args() {
|
function compile_args() {
|
||||||
echo ":: Compiling server arguments"
|
echo ":: Compiling server arguments"
|
||||||
export "ARGS=--nogui"
|
export "ARGS=--nogui --add-modules=jdk.incubator.vector"
|
||||||
case "${MCSD_ENFORCE_FRESH_CACHES}" in
|
case "${MCSD_ENFORCE_FRESH_CACHES}" in
|
||||||
"true")
|
"true")
|
||||||
export "ARGS=${ARGS} --eraseCache"
|
export "ARGS=${ARGS} --eraseCache"
|
||||||
|
@ -171,5 +171,5 @@ cd /data||exit 69
|
||||||
if [ -z "${MCSD_CUSTOM_ARGS}" ]; then
|
if [ -z "${MCSD_CUSTOM_ARGS}" ]; then
|
||||||
exec "/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" ${FLAGS} -jar "/data/server.jar" ${ARGS}
|
exec "/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" ${FLAGS} -jar "/data/server.jar" ${ARGS}
|
||||||
else
|
else
|
||||||
exec "/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" ${MCSD_CUSTOM_ARGS}
|
exec "/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" ${MCSD_CUSTOM_ARGS} -jar "/data/server.jar" ${ARGS}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue