merchant: stats fail-closed; full PATH (cron wiped zeros)
This commit is contained in:
parent
be05666737
commit
4c6f82eb67
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@
|
|||
# eaten as fieldsep and ON_ERROR_STOP becomes the *username*).
|
||||
set -euo pipefail
|
||||
export TZ="${TZ:-Europe/Zurich}"
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${PATH:+:$PATH}"
|
||||
LANDING_DIR="${LANDING_DIR:-/var/www/merchant-landing}"
|
||||
OUT="$LANDING_DIR/stats.json"
|
||||
RUN="$LANDING_DIR/stats-run.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue