~修复因自启延迟与守护进程冲突导致的开机启动失败的问题
This commit is contained in:
@@ -1924,8 +1924,11 @@ restart)
|
|||||||
$0 start
|
$0 start
|
||||||
;;
|
;;
|
||||||
daemon)
|
daemon)
|
||||||
[ ! -f $TMPDIR/crash_start_time ] && sleep 20
|
if [ -f $TMPDIR/crash_start_time ];then
|
||||||
$0 start
|
$0 start
|
||||||
|
else
|
||||||
|
sleep 60 && touch $TMPDIR/crash_start_time
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
debug)
|
debug)
|
||||||
[ -n "$(pidof CrashCore)" ] && $0 stop >/dev/null #禁止多实例
|
[ -n "$(pidof CrashCore)" ] && $0 stop >/dev/null #禁止多实例
|
||||||
|
|||||||
Reference in New Issue
Block a user