中控增加下单,关键位,系统设置

This commit is contained in:
dekun
2026-05-22 10:32:51 +08:00
parent 6695e72e72
commit 94d4c3b777
7 changed files with 133 additions and 138 deletions
+4 -7
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# 子代理 PM2 快捷脚本
# 子代理 PM2(中控请用 scripts/pm2_hub.sh 或 ecosystem.config.cjs 一次起全部)
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@@ -10,12 +10,9 @@ usage() {
cat <<'EOF'
用法: bash scripts/pm2_agents.sh <start|stop|restart|status|logs|delete>
start 启动 ecosystem.agents.config.cjs 中全部子代理
stop 停止全部 manual-agent-*
restart 重启全部
status pm2 status
logs 全部子代理日志
delete 从 PM2 移除
一般请用: bash scripts/pm2_hub.sh start hub + agent 一起)
本脚本仅操作 4 路子代理(不含中控)
仅启动币安: pm2 start ecosystem.agents.config.cjs --only manual-agent-binance
EOF