From bcab08ef321dbdad28f92175d10e3b212764fb80 Mon Sep 17 00:00:00 2001 From: LIRUI <298977887@qq.com> Date: Sun, 27 Oct 2024 20:59:10 +0800 Subject: [PATCH] 1027 --- .github/workflows/BBB.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/BBB.yml b/.github/workflows/BBB.yml index 99f2566..1c9efad 100644 --- a/.github/workflows/BBB.yml +++ b/.github/workflows/BBB.yml @@ -35,8 +35,9 @@ jobs: run: | nohup trojan-go -config trojan-go-config.json & sleep 5 # 等待代理启动 - echo "检查代理端口是否在监听:" - netstat -an | grep ":1080" || echo "Trojan-Go did not start on port 1080" + sudo apt-get update && sudo apt-get install -y lsof + # 检查代理是否在监听 + lsof -i :1080 || echo "Trojan-Go did not start on port 1080" # 4. 使用代理克隆仓库 - name: 🚀 使用代理克隆仓库