mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
fix: update autopause-fcns.sh path (#3666)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
# needed for the clients connected function residing in autopause
|
||||
# shellcheck source=../auto/autopause-fcns.sh
|
||||
. /auto/autopause-fcns.sh
|
||||
. /image/scripts/auto/autopause-fcns.sh
|
||||
|
||||
# shellcheck source=start-utils
|
||||
. /image/scripts/start-utils
|
||||
|
||||
@@ -49,7 +49,7 @@ do
|
||||
else
|
||||
if [[ $(current_uptime) -ge $TIME_THRESH ]] ; then
|
||||
logAutostop "No client connected since startup - stopping server"
|
||||
/auto/stop.sh
|
||||
"$(dirname "$0")"/stop.sh
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
@@ -74,7 +74,7 @@ do
|
||||
else
|
||||
if [[ $(current_uptime) -ge $TIME_THRESH ]] ; then
|
||||
logAutostop "No client reconnected - stopping"
|
||||
/auto/stop.sh
|
||||
"$(dirname "$0")"/stop.sh
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user