[Patchew-devel] [PATCH] patchew-importer-lore: pass --init to docker

Paolo Bonzini posted 1 patch 2 months, 2 weeks ago
scripts/playbooks/deploy-importers-lore.yml | 1 +
1 file changed, 1 insertion(+)
[Patchew-devel] [PATCH] patchew-importer-lore: pass --init to docker
Posted by Paolo Bonzini 2 months, 2 weeks ago
Unlike bash, which includes a process reaper, Python programs cannot
run as PID 1 inside a docker container.  Use the --init flag so that
git processes are reaped.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 scripts/playbooks/deploy-importers-lore.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/playbooks/deploy-importers-lore.yml b/scripts/playbooks/deploy-importers-lore.yml
index de0a0f2..9f80d93 100644
--- a/scripts/playbooks/deploy-importers-lore.yml
+++ b/scripts/playbooks/deploy-importers-lore.yml
@@ -24,6 +24,7 @@
     src_dir: "{{ base_dir }}/src"
     data_dir: "{{ base_dir }}/data"
     config_file: "{{ data_dir }}/config"
+    docker_run_args: "--init"
   tasks:
     - name: Create data dir
       file:
-- 
2.34.1

_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/patchew-devel