all repos — honk @ 0ec8afa227281c1fd4f35bf331aa0a16582fff89

my fork of honk

also handle sigterm
Ted Unangst tedu@tedunangst.com
Mon, 11 Nov 2019 00:00:05 -0500
commit

0ec8afa227281c1fd4f35bf331aa0a16582fff89

parent

c8c6eedaa08c7c08df1eb013e96686870455d2f3

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M web.goweb.go

@@ -31,6 +31,7 @@ "regexp"

"sort" "strconv" "strings" + "syscall" "time" "github.com/gorilla/mux"

@@ -2054,6 +2055,7 @@

func enditall() { sig := make(chan os.Signal) signal.Notify(sig, os.Interrupt) + signal.Notify(sig, syscall.SIGTERM) <-sig count := 0 log.Printf("stopping...")