summaryrefslogtreecommitdiffstats
path: root/tools/docker-compose/supervisor.conf
diff options
context:
space:
mode:
authorRyan Petrello <rpetrell@redhat.com>2019-05-08 19:10:52 +0200
committerRyan Petrello <rpetrell@redhat.com>2019-05-08 20:44:07 +0200
commit766a5c0c3f15007a4aa442bf54c9082910fb7472 (patch)
treeed88c32c1834d6a32cadaf8dd3e5438689ced885 /tools/docker-compose/supervisor.conf
parentMerge pull request #3850 from jbradberry/reload-dispatcher-on-code-change (diff)
downloadawx-766a5c0c3f15007a4aa442bf54c9082910fb7472.tar.xz
awx-766a5c0c3f15007a4aa442bf54c9082910fb7472.zip
remove honcho in the dev environment (just use foregrounded supervisor)
using supervisor gives us the ability to restart entire processes on code change (like the dispatcher and callback receiver)
Diffstat (limited to 'tools/docker-compose/supervisor.conf')
-rw-r--r--tools/docker-compose/supervisor.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/docker-compose/supervisor.conf b/tools/docker-compose/supervisor.conf
index c658e2689d..6a6b71151c 100644
--- a/tools/docker-compose/supervisor.conf
+++ b/tools/docker-compose/supervisor.conf
@@ -32,6 +32,10 @@ command = make uwsgi
autostart = true
autorestart = true
redirect_stderr=true
+stopwaitsecs = 1
+stopsignal=KILL
+stopasgroup=true
+killasgroup=true
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0