diff options
Diffstat (limited to 'cmd/web_graceful.go')
-rw-r--r-- | cmd/web_graceful.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/web_graceful.go b/cmd/web_graceful.go index f3c41766af..9e039de699 100644 --- a/cmd/web_graceful.go +++ b/cmd/web_graceful.go @@ -37,6 +37,12 @@ func NoMainListener() { graceful.GetManager().InformCleanup() } +// NoInstallListener tells our cleanup routine that we will not be using a possibly provided listener +// for our install HTTP/HTTPS service +func NoInstallListener() { + graceful.GetManager().InformCleanup() +} + func runFCGI(network, listenAddr string, m http.Handler) error { // This needs to handle stdin as fcgi point fcgiServer := graceful.NewServer(network, listenAddr) |