No more initial status messages = starting does nothing
This commit is contained in:
parent
6c52d1a5b2
commit
e06eced768
4
main.go
4
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)
|
||||
|
Loading…
Reference in New Issue
Block a user