diff --git a/services/stordb.go b/services/stordb.go index 268dc72d6..3457261fd 100644 --- a/services/stordb.go +++ b/services/stordb.go @@ -151,7 +151,7 @@ func (db *StorDBService) ServiceName() string { // ShouldRun returns if the service should be running func (db *StorDBService) ShouldRun() bool { - return db.cfg.CdrsCfg().Enabled + return db.cfg.CdrsCfg().Enabled || db.cfg.AdminSCfg().Enabled } // RegisterSyncChan used by dependent subsystems to register a chanel to reload only the storDB(thread safe)