mc: set JAVA_PARAMETERS as alternative INIT_MEMORY for FTB server

For #271
This commit is contained in:
Geoff Bourne 2018-12-18 16:42:15 -06:00
parent 091e79c550
commit 8c26947fbc

View File

@ -88,6 +88,7 @@ if [[ ${TYPE} == "FEED-THE-BEAST" ]]; then
cat > ${FTB_DIR}/settings-local.sh <<EOF
export MIN_RAM="${INIT_MEMORY}"
export MAX_RAM="${MAX_MEMORY}"
export JAVA_PARAMETERS="-Xms${INIT_MEMORY}"
EOF
cd ${FTB_DIR}