| | |
| | | "basic.com/valib/bhomeclient.git" |
| | | "basic.com/valib/bhomedbapi.git" |
| | | "basic.com/valib/logger.git" |
| | | "basic.com/valib/version.git" |
| | | vaversion "basic.com/valib/version.git" |
| | | ) |
| | | |
| | | var ( |
| | |
| | | |
| | | err = syscall.Flock(int(lock.Fd()), syscall.LOCK_EX|syscall.LOCK_NB) |
| | | if err != nil { |
| | | fmt.Println("report service is running ") |
| | | fmt.Println("version-control is running ") |
| | | os.Exit(1) |
| | | } |
| | | |
| | |
| | | |
| | | go ms.StartServer(fm) |
| | | |
| | | go service.SelfUpdateStart(ctx, ms) //自动更新 |
| | | // go service.SelfUpdateStart(ctx, ms) //自动更新 |
| | | |
| | | go service.NoticeTick(ctx) //更新提醒 |
| | | |