Beispiel #1
0
 def _main(self, *args):
     # docker compose do not kill the container odoo as is was run
     # manually, so we implement our own kill
     project = get_project('.', config_path=[
         self.config_path.decode('utf-8')])
     containers = project.containers(one_off=OneOffFilter.include)
     parallel_kill(containers, {'signal': 'SIGKILL'})
Beispiel #2
0
 def main(self, *args):
     # docker compose do not kill the container odoo as is was run
     # manually, so we implement our own kill
     project = get_project('.', config_path=[self.config_path])
     containers = project.containers(one_off=OneOffFilter.include)
     parallel_kill(containers, {'signal': 'SIGKILL'})
Beispiel #3
0
 def _main(self, *args):
     # docker compose do not kill the container odoo as is was run
     # manually, so we implement our own kill
     containers = self.project.get_containers()
     parallel_kill(containers, {'signal': 'SIGKILL'})