From 3547af3d718eb2202626ca40346938ba2f84cfd5 Mon Sep 17 00:00:00 2001 From: Nathaniel Cook Date: Wed, 8 Nov 2017 20:52:08 -0700 Subject: [PATCH] add name to java args for easier process discovery --- src/minecraftctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/minecraftctl.sh b/src/minecraftctl.sh index 0c258af..512679f 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" \ + -e "JVM_OPTS=-Xmx${MAXHEAP}M -Xms${MINHEAP}M -D${name}" \ -e "EULA=$EULA" \ -e "VERSION=$VERSION" \ -e "DIFFICULTY=$DIFFICULTY" \