Advertisement
Guest User

Untitled

a guest
May 24th, 2015
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [uwsgi]
  2.  
  3. project_name    = cb
  4.  
  5. # important for unicode filenames
  6. env             = LANG=en_US.utf8
  7.  
  8. uid             = www
  9. gid             = www
  10.  
  11. # master
  12. master          = master
  13.  
  14. # number of processes
  15. processes       = 10
  16.  
  17. # the socket (use the full path to be safe)
  18. socket          = /var/run/uwsgi/%(project_name).sock
  19.  
  20. chmod-socket    = 664
  21.  
  22. umask           = 002
  23.  
  24. # the base directory
  25. chdir           = /srv/www/%(project_name)/
  26.  
  27. # Django's wsgi file
  28. module          = %(project_name).wsgi
  29.  
  30. # the virtualenv
  31. home            = /srv/www/envs/%(project_name)
  32.  
  33. logto           = /var/log/uwsgi/%(project_name).log
  34.  
  35. stats           = /var/run/uwsgi/%(project_name)-stats.sock
  36.  
  37. pidfile         = /var/run/uwsgi/%(project_name).pid
  38.  
  39. touch-reload    = /var/run/uwsgi/%(project_name).pid
  40.  
  41. listen          = 256
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement