Auto-merging via docker-versions-create

This commit is contained in:
Geoff Bourne committed 2020-03-30 08:31:53 -05:00
commit 0e3a82f9d3
5 files changed
+29 -44

No files matched your search

+4
View File
@@ -136,6 +136,10 @@ EOF
if [ -f "${FTB_DIR}/settings.cfg" ]; then
sed -i "s/MAX_RAM=[^;]*/MAX_RAM=${MAX_MEMORY}/" "${FTB_DIR}/settings.cfg"
fi
# if missing shebang line, then run file through bash
if ! head -1 "${FTB_SERVER_START}"|grep -q "^#!"; then
mcServerRunnerArgs="${mcServerRunnerArgs} --shell bash"
fi
cd "${FTB_DIR}"
log "Running FTB ${FTB_SERVER_START} in ${FTB_DIR} ..."