Skip to content

Commit

Permalink
fix fpm and nginx stop signals
Browse files Browse the repository at this point in the history
  • Loading branch information
jleonardolemos committed Oct 16, 2024
1 parent 566141d commit 22a7621
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/supervisor/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 22a7621

Please sign in to comment.