From 30d185a67fef645727cdddb71f91557e46394f37 Mon Sep 17 00:00:00 2001 From: Shane McDonald Date: Thu, 14 Apr 2022 10:40:07 -0400 Subject: [PATCH] Make dev env reload faster --- tools/docker-compose/supervisor.conf | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/tools/docker-compose/supervisor.conf b/tools/docker-compose/supervisor.conf index f7c0b6f57d..0e2441a47e 100644 --- a/tools/docker-compose/supervisor.conf +++ b/tools/docker-compose/supervisor.conf @@ -6,7 +6,6 @@ nodaemon=true [program:awx-dispatcher] command = make dispatcher autorestart = true -startsecs = 30 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout @@ -17,7 +16,6 @@ stderr_logfile_maxbytes=0 [program:awx-receiver] command = make receiver autorestart = true -startsecs = 30 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout @@ -28,7 +26,6 @@ stderr_logfile_maxbytes=0 [program:awx-wsbroadcast] command = make wsbroadcast autorestart = true -startsecs = 30 autorestart = true stopasgroup=true killasgroup=true @@ -40,7 +37,8 @@ stderr_logfile_maxbytes=0 [program:awx-uwsgi] command = make uwsgi autorestart = true -startsecs = 30 +stopwaitsecs = 1 +stopsignal=KILL stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout @@ -51,7 +49,6 @@ stderr_logfile_maxbytes=0 [program:awx-daphne] command = make daphne autorestart = true -startsecs = 30 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout @@ -62,7 +59,6 @@ stderr_logfile_maxbytes=0 [program:awx-nginx] command = make nginx autorestart = true -startsecs = 30 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout @@ -73,7 +69,6 @@ stderr_logfile_maxbytes=0 [program:awx-rsyslogd] command = rsyslogd -n -i /var/run/awx-rsyslog/rsyslog.pid -f /var/lib/awx/rsyslog/rsyslog.conf autorestart = true -startsecs = 30 stopasgroup=true killasgroup=true redirect_stderr=true @@ -83,7 +78,6 @@ stderr_events_enabled = true [program:awx-receptor] command = receptor --config /etc/receptor/receptor.conf autorestart = true -startsecs = 30 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout @@ -99,7 +93,6 @@ priority=5 command = make awx-autoreload autostart = true autorestart = true -startsecs = 30 stopasgroup=true killasgroup=true stdout_logfile=/dev/stdout