Added variable to configure stop duration

Fixes #617
This commit is contained in:
Geoff Bourne
2020-08-25 19:10:55 -05:00
parent c8b6eac8fe
commit 42f90c8806
2 changed files with 5 additions and 1 deletions
+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