Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user