Browse Source

En cours de développement

master
mls-361 2 months ago
parent
commit
7d42d079c8
  1. 3
      cmd/main.go

3
cmd/main.go

@ -10,6 +10,7 @@ import (
"os"
"os/signal"
"sync"
"syscall"
"time"
"forge.chapril.org/mls-361/application"
@ -67,7 +68,7 @@ func waitEnd(server components.Server) *sync.WaitGroup {
sigEnd := make(chan os.Signal, 1)
defer close(sigEnd)
signal.Notify(sigEnd, os.Interrupt)
signal.Notify(sigEnd, os.Interrupt, syscall.SIGABRT, syscall.SIGQUIT, syscall.SIGTERM)
<-sigEnd
}()

Loading…
Cancel
Save