Optimizing Docker Log Output Detection

pull/2018/head
skiffer-git 2 years ago
parent 6fed7607d5
commit 1b1721e129

@ -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

@ -63,13 +63,14 @@ function execute_start_scripts() {
if openim::util::is_running_in_container; then
echo "container!!!!11111111111"
exec > ${DOCKER_LOG_FILE} 2>&1
else
echo "host!!!!"
echo "host!!!!11111111111"
fi
openim::golang::check_openim_binaries
if [[ $? -ne 0 ]]; then
openim::log::error "OpenIM binaries are not found. Please run 'make build' to build binaries."

Loading…
Cancel
Save