Added variable to configure stop duration

Fixes #617
This commit is contained in:
Geoff Bourne committed 2020-08-25 19:10:55 -05:00
1 parent c8b6eac8fe
commit 42f90c8806
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -173,7 +173,7 @@ function copyFilesForCurseForge() {
cp -f /data/eula.txt "${FTB_DIR}/"
}
mcServerRunnerArgs="--stop-duration 60s"
mcServerRunnerArgs="--stop-duration ${STOP_DURATION:-60}s"
if [[ ${TYPE} == "CURSE_INSTANCE" ]]; then
if isTrue ${DEBUG_EXEC}; then
set -x