Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. [uwsgi]
  2. socket=127.0.0.1:3034
  3. chdir=/Users/calvin/work/myproject
  4. virtualenv=/Users/calvin/.virtualenvs/myproject
  5. module=django.core.handlers.wsgi:WSGIHandler()
  6. env= DJANGO_SETTINGS_MODULE=myproject.settings
  7. master=True
  8. pidfile=/tmp/myproject-master.pid
  9. vacuum=True
  10. max-requests=5000
  11. daemonize=/var/log/uwsgi/myproject.log
  12.  
  13. [uwsgi]
  14.  
  15. if-env = PROJECT_HOME
  16. print = Your path is %(_)/myproject
  17. chdir = %(_)/myproject
  18. endif =
  19.  
  20. if-env = VIRTUAL_ENV
  21. print = Your virtualenv is %(_)
  22. virtualenv = %(_)
  23. endif =
  24.  
  25. socket=127.0.0.1:3034
  26. module=django.core.handlers.wsgi:WSGIHandler()
  27. env= DJANGO_SETTINGS_MODULE=bbox.settings
  28. master=True
  29. pidfile=/tmp/project-master.pid
  30. vacuum=True
  31. max-requests=5000
  32. daemonize=/var/log/uwsgi/yourproject.log
  33.  
  34. calvin$ uwsgi --ini myproject/uwsgi.ini
  35. [uWSGI] getting INI configuration from myproject/uwsgi.ini
  36. Your path is /Users/calvin/work/myproject
  37. Your virtualenv is /Users/calvin/.virtualenvs/myproject
  38. *** Starting uWSGI 1.2.4 (64bit) on [Thu Jul 26 17:00:04 2012] ***
  39. compiled with version: 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.61) on 25 July 2012 20:06:56
  40. detected number of CPU cores: 8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement