This commit is contained in:
2026-05-14 15:07:34 +08:00
parent c2a398930d
commit 10d04c4083
179 changed files with 24073 additions and 1243 deletions

View File

@@ -33,7 +33,7 @@ else
echo "PID文件不存在服务可能未运行"
# 尝试查找并停止所有uvicorn进程
UVICORN_PIDS=$(pgrep -f "uvicorn src.api.main")
UVICORN_PIDS=$(pgrep -f "uvicorn app.main:app")
if [ -n "$UVICORN_PIDS" ]; then
echo "发现运行中的uvicorn进程: $UVICORN_PIDS"
echo "是否停止这些进程? (y/n)"
@@ -43,4 +43,4 @@ else
echo "进程已停止"
fi
fi
fi
fi