예제 #1
0
파일: exim.py 프로젝트: maximerobin/Ufwi
    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)
예제 #2
0
파일: havp.py 프로젝트: maximerobin/Ufwi
 def service_start(self, context):
     self.core.callServiceSync(context, "Clamav", "incrementUsageCount")
     return ConfigServiceComponent.service_start(self, context)