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)