updated dependencies and go 1.17
This commit is contained in:
parent
1bb92bd581
commit
88ac31dcd9
330 changed files with 21749 additions and 13986 deletions
|
|
@ -98,7 +98,7 @@ func initServer(cfg core.Config) (err error) {
|
|||
return
|
||||
}
|
||||
log.Println("docstore " + cfg.Version + " started")
|
||||
sigs := make(chan os.Signal)
|
||||
sigs := make(chan os.Signal, 1)
|
||||
signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
|
||||
sig := <-sigs
|
||||
log.Println("signal: " + sig.String())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue