def service_start(self, context): if self.CONFIG['virus_scan']: self.core.callServiceSync(context, "Clamav", "decrementUsageCount") self.old_clamav_config = self.CONFIG['virus_scan'] return ConfigServiceComponent.service_start(self, context)
def service_start(self, context): self.core.callServiceSync(context, "Clamav", "incrementUsageCount") return ConfigServiceComponent.service_start(self, context)