mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-17 12:05:56 +00:00
Compare commits
1 Commits
feat/apply
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68bb650617 |
@@ -9,7 +9,7 @@ MarkupSafe==3.0.3
|
|||||||
mergedeep==1.3.4
|
mergedeep==1.3.4
|
||||||
mkdocs==1.6.1
|
mkdocs==1.6.1
|
||||||
mkdocs-autorefs==1.4.4
|
mkdocs-autorefs==1.4.4
|
||||||
mkdocs-get-deps==0.2.0
|
mkdocs-get-deps==0.2.2
|
||||||
mkdocstrings==1.0.3
|
mkdocstrings==1.0.3
|
||||||
mkdocstrings-python==2.0.3
|
mkdocstrings-python==2.0.3
|
||||||
packaging==26.0
|
packaging==26.0
|
||||||
@@ -22,4 +22,4 @@ PyYAML==6.0.3
|
|||||||
pyyaml_env_tag==1.1
|
pyyaml_env_tag==1.1
|
||||||
six==1.17.0
|
six==1.17.0
|
||||||
watchdog==6.0.0
|
watchdog==6.0.0
|
||||||
zensical==0.0.24
|
zensical==0.0.27
|
||||||
|
|||||||
@@ -54,8 +54,8 @@ fi
|
|||||||
|
|
||||||
if isTrue "${DEBUG_MEMORY:-false}"; then
|
if isTrue "${DEBUG_MEMORY:-false}"; then
|
||||||
log "Memory usage and availability (in MB)"
|
log "Memory usage and availability (in MB)"
|
||||||
uname -pars | applyLogPrefix
|
uname -pars
|
||||||
free -m | applyLogPrefix
|
free -m
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
|||||||
@@ -125,12 +125,6 @@ function logn() {
|
|||||||
echo -n "[init] $*"
|
echo -n "[init] $*"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Use as
|
|
||||||
# cmd | applyLogPrefix
|
|
||||||
function applyLogPrefix() {
|
|
||||||
sed 's/^/[init] /'
|
|
||||||
}
|
|
||||||
|
|
||||||
function log() {
|
function log() {
|
||||||
local oldState
|
local oldState
|
||||||
# The return status when listing options is zero if all optnames are enabled, non- zero otherwise.
|
# The return status when listing options is zero if all optnames are enabled, non- zero otherwise.
|
||||||
|
|||||||
Reference in New Issue
Block a user