From de58ef104320320d1733cbdd27297129c632114d Mon Sep 17 00:00:00 2001 From: M_Kececi Date: Wed, 18 Feb 2026 16:58:46 +0300 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- deploy/deploy.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 21ec53f..a64c912 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -196,8 +196,10 @@ run_deploy() { } if [[ "${1:-}" == "--run" ]]; then - run_deploy >>"$LOG_FILE" 2>&1 - exit 0 + mkdir -p "$(dirname "$LOG_FILE")" + # Stream deploy output both to file and journald (tag: bssapp-deploy). + run_deploy 2>&1 | tee -a "$LOG_FILE" >(logger -t bssapp-deploy -p user.info) + exit ${PIPESTATUS[0]} fi # Fully detach webhook-triggered process to avoid EPIPE from closed request sockets.