Only catch interrupt signal

This commit is contained in:
Geoff Bourne 2018-05-09 18:56:26 -05:00
parent 013f0cc4f6
commit 678602a558

View File

@ -44,7 +44,7 @@ func main() {
ctx, cancel := context.WithCancel(context.Background())
c := make(chan os.Signal, 1)
signal.Notify(c)
signal.Notify(c, os.Interrupt)
server.Routes.RegisterAll(*mappings)