updated dependencies and go 1.17
This commit is contained in:
parent
58caf0527e
commit
76360ddbc2
32 changed files with 434 additions and 174 deletions
|
|
@ -71,7 +71,7 @@ func initServer(cfg core.Config) (err error) {
|
|||
return
|
||||
}
|
||||
log.Println("gowiki " + 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