Optimizing Docker Log Output Detection

This commit is contained in:
skiffer-git 2024-03-07 14:21:55 +08:00
parent cb88fa2ca3
commit 13d4164c18
2 changed files with 4 additions and 4 deletions

View File

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

View File

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