Fix autostop-daemon.sh path in start-autostop (#3670)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2025-09-20 15:01:00 -05:00
1 parent 0517a0a2b1
commit ac805a4da6
2 files changed
+2 -6

No files matched your search

+1 -3
View File
@@ -4,13 +4,11 @@
. "$(dirname "$0")/start-utils"
: "${SERVER_PORT:=25565}"
: "${ENABLE_AUTOSTOP:=false}"
: "${AUTOSTOP_TIMEOUT_EST:=3600}"
: "${AUTOSTOP_TIMEOUT_INIT:=1800}"
: "${AUTOSTOP_PERIOD:=10}"
: "${DEBUG_AUTOSTOP:=false}"
export SERVER_PORT
export ENABLE_AUTOSTOP
export AUTOSTOP_TIMEOUT_EST
export AUTOSTOP_TIMEOUT_INIT
export AUTOSTOP_PERIOD
@@ -25,4 +23,4 @@ checkIfNotZeroElseSetToDefault "AUTOSTOP_PERIOD" 10
isNumericElseSetToDefault "AUTOSTOP_TIMEOUT_EST" 3600
isNumericElseSetToDefault "AUTOSTOP_TIMEOUT_INIT" 1800
/auto/autostop-daemon.sh &
"$(dirname "$0")/auto/autostop-daemon.sh" &
+1 -3
View File
@@ -167,9 +167,7 @@ fi
if isTrue "${ENABLE_AUTOPAUSE}"; then
"$(dirname "$0")/start-autopause"
fi
if isTrue "${ENABLE_AUTOSTOP}"; then
elif isTrue "${ENABLE_AUTOSTOP}"; then
"$(dirname "$0")/start-autostop"
fi