mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
Optimizing Docker Log Output Detection
This commit is contained in:
parent
cb88fa2ca3
commit
13d4164c18
@ -26,9 +26,9 @@
|
||||
OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
||||
source "${OPENIM_ROOT}/scripts/install/common.sh"
|
||||
|
||||
#if grep -q docker /proc/1/cgroup; then
|
||||
if grep -q docker /proc/1/cgroup; then
|
||||
exec > ${DOCKER_LOG_FILE} 2>&1
|
||||
#fi
|
||||
fi
|
||||
|
||||
|
||||
OPENIM_VERBOSE=4
|
||||
|
||||
@ -62,9 +62,9 @@ function execute_start_scripts() {
|
||||
|
||||
|
||||
|
||||
#if grep -q docker /proc/1/cgroup; then
|
||||
if grep -q docker /proc/1/cgroup; then
|
||||
exec > ${DOCKER_LOG_FILE} 2>&1
|
||||
#fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user