supervisord.conf 602 B

12345678910111213141516171819202122
  1. [supervisord]
  2. nodaemon=true
  3. logfile=/dev/sdtout
  4. pidfile=/var/run/supervisord/supervisord.pid
  5. childlogdir=/var/log/supervisord/
  6. logfile_maxbytes=50MB ; maximum size of logfile before rotation
  7. logfile_backups=10 ; number of backed up logfiles
  8. loglevel=error
  9. [program:apache2]
  10. stdout_logfile=/dev/stdout
  11. stdout_logfile_maxbytes=0
  12. stderr_logfile=/dev/stderr
  13. stderr_logfile_maxbytes=0
  14. command=apache2-foreground
  15. [program:cron]
  16. stdout_logfile=/dev/stdout
  17. stdout_logfile_maxbytes=0
  18. stderr_logfile=/dev/stderr
  19. stderr_logfile_maxbytes=0
  20. command=/cron.sh