mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 09:08:45 +05:00
Starting services message uniformity
This commit is contained in:
committed by
Dan Christian Bogos
parent
bee505b278
commit
e511a2e110
@@ -321,6 +321,7 @@ type ResourceService struct {
|
||||
|
||||
// Called to start the service
|
||||
func (rS *ResourceService) ListenAndServe(exitChan chan bool) error {
|
||||
utils.Logger.Info(fmt.Sprintf("<%s> starting <%s> subsystem", utils.CoreS, utils.ResourceS))
|
||||
go rS.runBackup() // start backup loop
|
||||
e := <-exitChan
|
||||
exitChan <- e // put back for the others listening for shutdown request
|
||||
|
||||
Reference in New Issue
Block a user