Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -196,8 +196,10 @@ run_deploy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [[ "${1:-}" == "--run" ]]; then
|
if [[ "${1:-}" == "--run" ]]; then
|
||||||
run_deploy >>"$LOG_FILE" 2>&1
|
mkdir -p "$(dirname "$LOG_FILE")"
|
||||||
exit 0
|
# 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
|
fi
|
||||||
|
|
||||||
# Fully detach webhook-triggered process to avoid EPIPE from closed request sockets.
|
# Fully detach webhook-triggered process to avoid EPIPE from closed request sockets.
|
||||||
|
|||||||
Reference in New Issue
Block a user