Files
site/WESP_REL/scripts/restart_wesp_dev.sh
2026-07-17 12:57:18 +03:00

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"