Von Lars, 2 Monate vorher, geschrieben in Bash.
Einbetten
  1. [supervisord]
  2. nodaemon=true
  3. logfile=/var/log/supervisord/supervisord.log
  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.  
  10. [program:apache2]
  11. stdout_logfile=/dev/stdout
  12. stdout_logfile_maxbytes=0
  13. stderr_logfile=/dev/stderr
  14. stderr_logfile_maxbytes=0
  15. command=apache2-foreground
  16.  
  17. [program:cron]
  18. stdout_logfile=/dev/stdout
  19. stdout_logfile_maxbytes=0
  20. stderr_logfile=/dev/stderr
  21. stderr_logfile_maxbytes=0
  22. command=/cron.sh
captcha