mirror of
https://github.com/caddyserver/caddy.git
synced 2025-12-08 06:09:53 +00:00
this is an awful hack
This commit is contained in:
parent
8f54cf5b44
commit
21e1dae92f
1 changed files with 1 additions and 0 deletions
1
caddy.go
1
caddy.go
|
|
@ -757,6 +757,7 @@ func exitProcess(ctx context.Context, logger *zap.Logger) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fmt.Println("exiting here")
|
||||||
|
|
||||||
// give the OS or service/process manager our 2 weeks' notice: we quit
|
// give the OS or service/process manager our 2 weeks' notice: we quit
|
||||||
if err := notify.Stopping(); err != nil {
|
if err := notify.Stopping(); err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue