diff --git a/cmd/routed/main.go b/cmd/routed/main.go index 46cf29c..186167e 100644 --- a/cmd/routed/main.go +++ b/cmd/routed/main.go @@ -68,7 +68,6 @@ func main() { <-ctx.Done() - signal.Reset(os.Interrupt) fmt.Printf("%s is now waiting for final shutdown, press ^C again to kill it now\n", os.Args[0]) time.Sleep(30 * time.Second) } @@ -92,6 +91,7 @@ func setupHTTP(ctx context.Context, s *Server, scfg Config) { } go ln.FatalErr(ctx, hs.Serve(l)) + ln.Log(ctx, f, ln.Action("http server listen")) for { select { @@ -131,6 +131,7 @@ func setupQuic(ctx context.Context, s *Server, scfg Config) { s.QuicServer = qs go ln.FatalErr(context.Background(), qs.ListenAndServe()) + ln.Log(ctx, f, ln.Action("http server listen")) for { select { @@ -166,6 +167,7 @@ func setupTLS(ctx context.Context, s *Server, scfg Config) { } go ln.FatalErr(context.Background(), hs.ListenAndServeTLS("", "")) + ln.Log(ctx, f, ln.Action("http server listen")) for { select {