No more initial status messages = starting does nothing
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Tyler 2022-03-31 01:04:04 -04:00
parent 6c52d1a5b2
commit e06eced768

View File

@ -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)