mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
mc: set JAVA_PARAMETERS as alternative INIT_MEMORY for FTB server
For #271
This commit is contained in:
parent
091e79c550
commit
8c26947fbc
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user