Optimizing Docker Log Output Detection

This commit is contained in:
skiffer-git 2024-03-07 14:41:40 +08:00
parent 6fed7607d5
commit 1b1721e129
2 changed files with 7 additions and 4 deletions

View File

@ -27,9 +27,11 @@ OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
source "${OPENIM_ROOT}/scripts/install/common.sh"
if openim::util::is_running_in_container; then
echo "container!!!!11111111111"
exec > ${DOCKER_LOG_FILE} 2>&1
else
echo "host!!!!"
echo "host!!!!11111111111"
fi

View File

@ -63,11 +63,12 @@ function execute_start_scripts() {
if openim::util::is_running_in_container; then
echo "container!!!!11111111111"
exec > ${DOCKER_LOG_FILE} 2>&1
else
echo "host!!!!"
fi
else
echo "host!!!!11111111111"
fi
openim::golang::check_openim_binaries