Beispiel #1
0
    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)
Beispiel #2
0
 def service_start(self, context):
     self.core.callServiceSync(context, "Clamav", "incrementUsageCount")
     return ConfigServiceComponent.service_start(self, context)