mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-06 04:20:30 +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
|
# needed for the clients connected function residing in autopause
|
||||||
# shellcheck source=../auto/autopause-fcns.sh
|
# shellcheck source=../auto/autopause-fcns.sh
|
||||||
. /auto/autopause-fcns.sh
|
. /image/scripts/auto/autopause-fcns.sh
|
||||||
|
|
||||||
# shellcheck source=start-utils
|
# shellcheck source=start-utils
|
||||||
. /image/scripts/start-utils
|
. /image/scripts/start-utils
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ do
|
|||||||
else
|
else
|
||||||
if [[ $(current_uptime) -ge $TIME_THRESH ]] ; then
|
if [[ $(current_uptime) -ge $TIME_THRESH ]] ; then
|
||||||
logAutostop "No client connected since startup - stopping server"
|
logAutostop "No client connected since startup - stopping server"
|
||||||
/auto/stop.sh
|
"$(dirname "$0")"/stop.sh
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -74,7 +74,7 @@ do
|
|||||||
else
|
else
|
||||||
if [[ $(current_uptime) -ge $TIME_THRESH ]] ; then
|
if [[ $(current_uptime) -ge $TIME_THRESH ]] ; then
|
||||||
logAutostop "No client reconnected - stopping"
|
logAutostop "No client reconnected - stopping"
|
||||||
/auto/stop.sh
|
"$(dirname "$0")"/stop.sh
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user