Move DEBUG_MEMORY output to beginning of init (#2519)

This commit is contained in:
Geoff Bourne
2023-11-30 17:00:09 -06:00
committed by GitHub
parent ca2c15ea8e
commit 2084f1ea12
2 changed files with 6 additions and 6 deletions

View File

@@ -47,6 +47,12 @@ if [ ! -e /data/eula.txt ]; then
writeEula
fi
if isTrue "${DEBUG_MEMORY:-false}"; then
log "Memory usage and availability (in MB)"
uname -a
free -m
fi
##########################################
# Setup RCON password