fix: lock
parent
10874ba9fc
commit
4056ae0231
|
@ -134,8 +134,10 @@ func (sys *System) Start() {
|
|||
sys.quit <- syscall.SIGTERM
|
||||
}
|
||||
}()
|
||||
<-sys.started
|
||||
history.Send(history.Info().Nm("SysUP").Msg("system started"))
|
||||
go func() {
|
||||
<-sys.started
|
||||
history.Send(history.Info().Nm("SysUP").Msg("system started"))
|
||||
}()
|
||||
<-sys.quit
|
||||
isRestart := false
|
||||
if sys.status == sys_restart {
|
||||
|
|
Loading…
Reference in New Issue