Merge remote-tracking branch 'origin/master'

This commit is contained in:
M_Kececi
2026-02-18 16:58:46 +03:00
parent 744e20591d
commit de58ef1043

View File

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