Advertisement
Guest User

wad

a guest
Jun 25th, 2012
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. # -*- conf -*-
  2. [include]
  3. files = *.supervisor
  4.  
  5. [supervisord]
  6.  
  7. [supervisorctl]
  8. serverurl = unix://supervisord.sock
  9.  
  10. [unix_http_server]
  11. file = supervisord.sock
  12.  
  13. [rpcinterface:supervisor]
  14. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  15.  
  16. [program:main]
  17. directory = /my-path
  18. #process_name = main-%(process_num)s
  19. process_name = adserver_gunicorn
  20. command = bash -c "ulimit -n 65535; exec /usr/bin/python /usr/local/bin/gunicorn server -w 4 --bind=0.0.0.0:8008 --worker-connections=65535 --preload --log-level=critical --log-file=/var/log/adserver-gunicorn.log"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement