From c07b6285daa5ed1bc77991bb65abcd3f664bac4e Mon Sep 17 00:00:00 2001 From: Christian Adams Date: Mon, 27 Apr 2020 14:33:46 -0400 Subject: [PATCH] Increase stopwait time for rsyslogd service --- installer/roles/image_build/files/supervisor.conf | 2 +- installer/roles/kubernetes/templates/supervisor.yml.j2 | 2 +- tools/docker-compose/supervisor.conf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/roles/image_build/files/supervisor.conf b/installer/roles/image_build/files/supervisor.conf index 641ebf5f64..73dc7d14c2 100644 --- a/installer/roles/image_build/files/supervisor.conf +++ b/installer/roles/image_build/files/supervisor.conf @@ -50,7 +50,7 @@ stderr_logfile_maxbytes=0 command = rsyslogd -n -i /var/run/awx-rsyslog/rsyslog.pid -f /var/lib/awx/rsyslog/rsyslog.conf autostart = true autorestart = true -stopwaitsecs = 1 +stopwaitsecs = 5 stopsignal=KILL stopasgroup=true killasgroup=true diff --git a/installer/roles/kubernetes/templates/supervisor.yml.j2 b/installer/roles/kubernetes/templates/supervisor.yml.j2 index 8aad78f0fa..99f42d30c1 100644 --- a/installer/roles/kubernetes/templates/supervisor.yml.j2 +++ b/installer/roles/kubernetes/templates/supervisor.yml.j2 @@ -57,7 +57,7 @@ data: command = rsyslogd -n -i /var/run/awx-rsyslog/rsyslog.pid -f /var/lib/awx/rsyslog/rsyslog.conf autostart = true autorestart = true - stopwaitsecs = 1 + stopwaitsecs = 5 stopsignal=KILL stopasgroup=true killasgroup=true diff --git a/tools/docker-compose/supervisor.conf b/tools/docker-compose/supervisor.conf index 09f74cd6e8..b70fed413d 100644 --- a/tools/docker-compose/supervisor.conf +++ b/tools/docker-compose/supervisor.conf @@ -75,7 +75,7 @@ stdout_logfile_maxbytes=0 command = rsyslogd -n -i /var/run/awx-rsyslog/rsyslog.pid -f /var/lib/awx/rsyslog/rsyslog.conf autostart = true autorestart = true -stopwaitsecs = 1 +stopwaitsecs = 5 stopsignal=KILL stopasgroup=true killasgroup=true