s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user