From 6b333c62f3f763a75d4264f973393e7bd88427c8 Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Wed, 27 Apr 2022 18:01:50 -0600 Subject: [PATCH] Adding SIGQUIT because without it supervisord makes honk vomit when quitting --- web.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web.go b/web.go index ac4bc56..4637b41 100644 --- a/web.go +++ b/web.go @@ -2395,8 +2395,7 @@ var workinprogress = 0 func enditall() { sig := make(chan os.Signal) - signal.Notify(sig, os.Interrupt) - signal.Notify(sig, syscall.SIGTERM) + signal.Notify(sig, os.Interrupt, syscall.SIGTERM, syscall.SIGQUIT) <-sig ilog.Printf("stopping...") for i := 0; i < workinprogress; i++ {