Skip to content

Commit

Permalink
fixed:vmess的存活判断
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejun committed Nov 17, 2024
1 parent 3280e88 commit 6f5e543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ checknezhaAgentAlive() {

checkvmessAlive() {
local c=0
if ps aux | grep web.js | grep -v "grep" >/dev/null; then
if ps aux | grep serv00sb | grep -v "grep" >/dev/null; then
((c++))
fi

if ps aux | grep cloud | grep -v "grep" >/dev/null; then
if ps aux | grep cloudflared | grep -v "grep" >/dev/null; then
((c++))
fi

Expand Down

0 comments on commit 6f5e543

Please sign in to comment.