From c40e9c97ed49bdcb7f8107ab5b0ecab7068a4c79 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Mon, 23 Mar 2026 10:40:54 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E5=BA=9E=E7=BB=9F=E6=94=B9=E8=BF=9B?= =?UTF-8?q?=20-=20=E5=90=AF=E5=8A=A8=E7=AD=89=E5=BE=85=E4=BB=8E1=E7=A7=92?= =?UTF-8?q?=E6=94=B9=E6=88=902=E7=A7=92=EF=BC=8C=E7=BB=99=E8=BF=9B?= =?UTF-8?q?=E7=A8=8B=E6=9B=B4=E5=A4=9A=E5=90=AF=E5=8A=A8=E6=97=B6=E9=97=B4?= =?UTF-8?q?=EF=BC=8C=E5=87=8F=E5=B0=91=E8=AF=AF=E5=88=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- management/workflow/scripts/agent_auto_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/workflow/scripts/agent_auto_start.sh b/management/workflow/scripts/agent_auto_start.sh index 0c6bf3186..6e84e618b 100755 --- a/management/workflow/scripts/agent_auto_start.sh +++ b/management/workflow/scripts/agent_auto_start.sh @@ -31,7 +31,7 @@ echo "πŸš€ 启动 $AGENT_NAME η›‘ζŽ§..." nohup ./management/workflow/scripts/agent_monitor_fixed.sh "$AGENT_NAME" > "${AGENT_NAME}_monitor.log" 2>&1 & # ζ£€ζŸ₯是否启动成功 -sleep 1 +sleep 2 # η»™θΏ›η¨‹δΈ€η‚Ήε―εŠ¨ζ—Άι—΄ if ps aux | grep "agent_monitor_fixed.sh $AGENT_NAME" | grep -v grep | grep -q .; then PID=$(ps aux | grep "agent_monitor_fixed.sh $AGENT_NAME" | grep -v grep | awk '{print $2}') echo "βœ… $AGENT_NAME η›‘ζŽ§ε―εŠ¨ζˆεŠŸ"