From 6b5b6e5ff07dc48306eda2b4a8c0e63c201e91af Mon Sep 17 00:00:00 2001 From: Nathaniel Cook Date: Thu, 9 Nov 2017 09:21:19 -0700 Subject: [PATCH] support extra jvm options --- src/minecraftctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/minecraftctl.sh b/src/minecraftctl.sh index 512679f..02f4b21 100755 --- a/src/minecraftctl.sh +++ b/src/minecraftctl.sh @@ -78,7 +78,7 @@ start() { --name "$name" \ $vol_mount \ -p $PORT:25565 \ - -e "JVM_OPTS=-Xmx${MAXHEAP}M -Xms${MINHEAP}M -D${name}" \ + -e "JVM_OPTS=-Xmx${MAXHEAP}M -Xms${MINHEAP}M -D${name} ${EXTRA_JVM_OPTS}" \ -e "EULA=$EULA" \ -e "VERSION=$VERSION" \ -e "DIFFICULTY=$DIFFICULTY" \