From 273a2359d23c29e9103180780168a3da4f668ac6 Mon Sep 17 00:00:00 2001 From: juewuy Date: Tue, 1 Oct 2024 09:54:41 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=90=AF=E5=BB=B6?= =?UTF-8?q?=E8=BF=9F=E4=BC=9A=E5=9C=A8=E6=89=8B=E5=8A=A8=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E7=94=9F=E6=95=88=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index bb07cc9..3d28d3e 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1801,8 +1801,8 @@ bfstart() { #启动前 afstart() { #启动后 [ -z "$firewall_area" ] && firewall_area=1 #延迟启动 - [ -n "$start_delay" ] && [ "$start_delay" -gt 0 ] && { - logger "ShellCrash将延迟$start_delay秒启动" 31 pushoff + [ ! -f "$TMPDIR"/crash_start_time ] && [ -n "$start_delay" ] && [ "$start_delay" -gt 0 ] && { + logger "ShellCrash将延迟$start_delay秒启动" 31 sleep $start_delay } #设置循环检测面板端口以判定服务启动是否成功