#!/bin/bash # AI MIP 停止脚本 # 查找并杀死进程 pkill -f "python main.py" if [ $? -eq 0 ]; then echo "[INFO] 服务已停止" else echo "[WARN] 未找到运行中的服务" fi