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 } #设置循环检测面板端口以判定服务启动是否成功