You've already forked armbian-router
mirror of
https://github.com/armbian/armbian-router.git
synced 2026-01-06 10:37:03 -08:00
No more initial status messages = starting does nothing
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user