This commit is contained in:
root
2026-05-18 06:48:30 +00:00
parent f1145e3a36
commit e638a4656c
14 changed files with 172 additions and 11 deletions

View File

@@ -12,6 +12,7 @@ load_env
# git pull 若以 root 执行,避免 live 用户无法写 venv / node_modules
chown -R live:live "$ROOT_DIR" || true
ensure_runtime_dirs_owned_by_live
log "Refreshing Python venv + requirements"
prepare_python_runtime
@@ -30,6 +31,8 @@ else
log "ENABLE_LIVE_EDGE_PROXY is not 1 — skipping live-edge (direct :${PORT})"
fi
ensure_runtime_dirs_owned_by_live
ok=0
for _ in 1 2 3 4 5 6; do
if curl -sf -m 6 "http://127.0.0.1:${PORT}/health" >/dev/null; then