internal: don't send kill signal to child as we mange it

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-07-17 17:02:24 +02:00
parent 7cbe33d65d
commit 311ffa9f79
2 changed files with 15 additions and 4 deletions

View File

@ -50,7 +50,7 @@ func main() {
<-ex
log.WithField("logger", "authentik").Debug("shutting down webserver")
ws.Shutdown()
go ws.Shutdown()
log.WithField("logger", "authentik").Debug("killing gunicorn")
g.Kill()
}