添加快速启动/停止脚本

This commit is contained in:
work-1
2026-02-15 14:31:17 +08:00
parent 7fd9eb0b21
commit 71f03f4125
2 changed files with 68 additions and 0 deletions
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
echo "🛑 停止多智能体任务管理系统..."
# 停止 Node.js 服务
pkill -f "node.*server-postgres.js"
# 停止 PostgreSQL 容器
docker stop agent-task-postgres 2>/dev/null
docker rm agent-task-postgres 2>/dev/null
echo "✅ 服务已停止"