mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
~修复因自启延迟与守护进程冲突导致的开机启动失败的问题
This commit is contained in:
parent
4949e9ce1c
commit
55916882b1
|
@ -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 #禁止多实例
|
||||||
|
|
Loading…
Reference in New Issue
Block a user