supervisor.conf 479 B

12345678910111213141516171819202122
  1. [supervisord]
  2. nodaemon=true
  3. logfile=/var/log/supervisord.log
  4. pidfile=/var/run/supervisord.pid
  5. [program:nginx]
  6. command=/usr/sbin/nginx -g "daemon off;"
  7. autostart=true
  8. autorestart=true
  9. stdout_logfile=/dev/stdout
  10. stdout_logfile_maxbytes=0
  11. stderr_logfile=/dev/stderr
  12. stderr_logfile_maxbytes=0
  13. [program:php-fpm]
  14. command=/usr/local/sbin/php-fpm
  15. autostart=true
  16. autorestart=true
  17. stdout_logfile=/dev/stdout
  18. stdout_logfile_maxbytes=0
  19. stderr_logfile=/dev/stderr
  20. stderr_logfile_maxbytes=0