From 2c73a07961c47c4189b721b94025ce9ec7ff759a Mon Sep 17 00:00:00 2001 From: Radiicall Date: Fri, 2 May 2025 16:23:11 +0200 Subject: [PATCH] build: use one log file instead of 2 --- entrypoint.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 07e8618..63bfa84 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -36,7 +36,6 @@ rotate_log() { fi } -rotate_log "/gorb/logs/stdout.log" -rotate_log "/gorb/logs/stderr.log" +rotate_log "/gorb/logs/backend.log" -/usr/bin/gorb-backend --config /gorb/config/config.toml > /gorb/logs/stdout.log 2> /gorb/logs/stderr.log +/usr/bin/gorb-backend --config /gorb/config/config.toml 2>&1 | tee /gorb/logs/backend.log