mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-22 06:34:21 +00:00
mc: set JAVA_PARAMETERS as alternative INIT_MEMORY for FTB server
For #271
This commit is contained in:
1 parent
091e79c550
commit
8c26947fbc
1 file changed
+1
@@ -88,6 +88,7 @@ if [[ ${TYPE} == "FEED-THE-BEAST" ]]; then
|
|||||||
cat > ${FTB_DIR}/settings-local.sh <<EOF
|
cat > ${FTB_DIR}/settings-local.sh <<EOF
|
||||||
export MIN_RAM="${INIT_MEMORY}"
|
export MIN_RAM="${INIT_MEMORY}"
|
||||||
export MAX_RAM="${MAX_MEMORY}"
|
export MAX_RAM="${MAX_MEMORY}"
|
||||||
|
export JAVA_PARAMETERS="-Xms${INIT_MEMORY}"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cd ${FTB_DIR}
|
cd ${FTB_DIR}
|
||||||
|
|||||||
Reference in new issue
Block a user