mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-15 19:22:54 +08:00
~修复因自启延迟与守护进程冲突导致的开机启动失败的问题
This commit is contained in:
parent
4949e9ce1c
commit
55916882b1
|
@ -1924,8 +1924,11 @@ restart)
|
|||
$0 start
|
||||
;;
|
||||
daemon)
|
||||
[ ! -f $TMPDIR/crash_start_time ] && sleep 20
|
||||
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 #禁止多实例
|
||||
|
|
Loading…
Reference in New Issue
Block a user