cmd: always stop gunicorn before exiting

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2022-10-15 11:54:11 +02:00
parent 77f6926a41
commit 26adf3f774
2 changed files with 6 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ type GoUnicorn struct {
alive bool
}
func NewGoUnicorn() *GoUnicorn {
func New() *GoUnicorn {
logger := log.WithField("logger", "authentik.router.unicorn")
g := &GoUnicorn{
log: logger,