From e06eced768e9019cc0c56973c31219beea233f74 Mon Sep 17 00:00:00 2001 From: Tyler Date: Thu, 31 Mar 2022 01:04:04 -0400 Subject: [PATCH] No more initial status messages = starting does nothing --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 1afad98..3ce1dd9 100644 --- a/main.go +++ b/main.go @@ -76,8 +76,6 @@ func main() { reloadConfig() - log.Info("Servers added, checking statuses") - // Start check loop go servers.checkLoop() @@ -98,6 +96,8 @@ func main() { go http.ListenAndServe(viper.GetString("bind"), r) + log.Info("Ready") + c := make(chan os.Signal) signal.Notify(c, syscall.SIGKILL, syscall.SIGTERM, syscall.SIGHUP)