Files
ViGent2/run_watchdog.sh
Kevin Wong cb10da52fc 更新
2026-02-03 13:46:52 +08:00

16 lines
387 B
Bash

#!/bin/bash
# 启动 ViGent2 服务看门狗
# 监控 Qwen-TTS and LatentSync 服务健康状态
cd "$(dirname "$0")"
# 使用 backend 的虚拟环境 Python (包含 httpx 等依赖)
PYTHON_PATH="./backend/venv/bin/python"
if [ -f "$PYTHON_PATH" ]; then
"$PYTHON_PATH" backend/scripts/watchdog.py
else
echo "❌ 错误: 找不到 Python 解释器: $PYTHON_PATH"
exit 1
fi