コード例 #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)