7 lines
229 B
Bash
7 lines
229 B
Bash
#!/usr/bin/env bash
|
|
# Dev wrapper: post-update with health-check and rollback.
|
|
set -euo pipefail
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
export WESP_LISTEN="${WESP_LISTEN:-0.0.0.0:80}"
|
|
exec bash "${ROOT}/scripts/post_update.sh"
|