Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 3rd, 2011  |  syntax: None  |  size: 1.17 KB  |  views: 142  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [unix_http_server]
  2. file=/tmp/supervisor.sock   ; (the path to the socket file)
  3.  
  4. [supervisord]
  5. logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log)
  6. logfile_maxbytes=50MB       ; (max main logfile bytes b4 rotation;default 50MB)
  7. logfile_backups=10          ; (num of main logfile rotation backups;default 10)
  8. loglevel=info               ; (log level;default info; others: debug,warn,trace)
  9. pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
  10. nodaemon=false              ; (start in foreground if true;default false)
  11. minfds=1024                 ; (min. avail startup file descriptors;default 1024)
  12. minprocs=200                ; (min. avail process descriptors;default 200)
  13.  
  14. [rpcinterface:supervisor]
  15. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  16.  
  17. [supervisorctl]
  18. serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL  for a unix socket
  19.  
  20. [program:myproject]
  21. command=gunicorn_django -c /sites/config/gunicorn.conf.py
  22. directory=/sites/[retracted]/code/main
  23. user=www-data
  24. autostart=true
  25. autorestart=true
  26. stdout_logfile=/sites/[retracted]/logs/supervisord.log
  27. redirect_stderr=true
clone this paste RAW Paste Data