From fb24b3793c347e8693c8a7497479ed33a0ddd924 Mon Sep 17 00:00:00 2001 From: Leonardo Lemos Date: Wed, 16 Oct 2024 14:40:53 -0300 Subject: [PATCH] fix fpm and nginx stop signals --- docker/supervisor/supervisord.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/supervisor/supervisord.conf b/docker/supervisor/supervisord.conf index b0415dc..52a1ede 100644 --- a/docker/supervisor/supervisord.conf +++ b/docker/supervisor/supervisord.conf @@ -7,6 +7,7 @@ user=root [program:nginx] process_name=%(program_name)s_%(process_num)02d command=/usr/sbin/nginx -g "daemon off;" +stopsignal=QUIT autostart=true autorestart=true startretries=5 @@ -19,6 +20,7 @@ stdout_logfile_maxbytes=0 [program:php-fpm] process_name=%(program_name)s_%(process_num)02d command=/usr/local/sbin/php-fpm --nodaemonize +stopsignal=QUIT priority=1 autostart=true autorestart=true