mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-08 13:17:13 +00:00
Autostop feature (#1212)
This commit is contained in:
1 parent
c15e231d7e
commit
fa4a0e92ce
8 files changed
+172
-2
No files matched your search
@@ -93,6 +93,14 @@ function logAutopauseAction() {
|
||||
echo "[$(date -Iseconds)] [Autopause] $*"
|
||||
}
|
||||
|
||||
function logAutostop() {
|
||||
echo "[Autostop loop] $*"
|
||||
}
|
||||
|
||||
function logAutostopAction() {
|
||||
echo "[$(date -Iseconds)] [Autostop] $*"
|
||||
}
|
||||
|
||||
function normalizeMemSize() {
|
||||
local scale=1
|
||||
case ${1,,} in
|
||||
|
||||
Reference in new issue
Block a user