From 55916882b167ae1ba8c30035098274697307f185 Mon Sep 17 00:00:00 2001 From: juewuy Date: Sat, 7 Sep 2024 21:05:13 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BF=AE=E5=A4=8D=E5=9B=A0=E8=87=AA=E5=90=AF?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E4=B8=8E=E5=AE=88=E6=8A=A4=E8=BF=9B=E7=A8=8B?= =?UTF-8?q?=E5=86=B2=E7=AA=81=E5=AF=BC=E8=87=B4=E7=9A=84=E5=BC=80=E6=9C=BA?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/start.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/start.sh b/scripts/start.sh index 6dd6bc0..220f31e 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1924,8 +1924,11 @@ restart) $0 start ;; daemon) - [ ! -f $TMPDIR/crash_start_time ] && sleep 20 - $0 start + if [ -f $TMPDIR/crash_start_time ];then + $0 start + else + sleep 60 && touch $TMPDIR/crash_start_time + fi ;; debug) [ -n "$(pidof CrashCore)" ] && $0 stop >/dev/null #禁止多实例