diff --git a/main.go b/main.go index 72a24f9..37657b6 100644 --- a/main.go +++ b/main.go @@ -18,7 +18,7 @@ var apps service.Apps var appName, version = service.AppName() func main() { - ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, os.Kill) + ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt) go func() { <-ctx.Done() defer cancel() // restore interrupt function