Starting services message uniformity

This commit is contained in:
TeoV
2019-08-27 03:53:28 -04:00
committed by Dan Christian Bogos
parent bee505b278
commit e511a2e110
9 changed files with 58 additions and 58 deletions

View File

@@ -139,6 +139,7 @@ type ThresholdService struct {
// Called to start the service
func (tS *ThresholdService) ListenAndServe(exitChan chan bool) error {
utils.Logger.Info(fmt.Sprintf("<%s> starting <%s> subsystem", utils.CoreS, utils.ThresholdS))
go tS.runBackup() // start backup loop
e := <-exitChan
exitChan <- e // put back for the others listening for shutdown request