2015-03-31 13:11:40 +00:00
|
|
|
# mysite_uwsgi.ini file
|
|
|
|
[uwsgi]
|
|
|
|
|
|
|
|
# Django-related settings
|
|
|
|
# the base directory (full path)
|
2015-03-31 14:02:30 +00:00
|
|
|
chdir = /home/james/production
|
2015-03-31 13:11:40 +00:00
|
|
|
# Django's wsgi file
|
2015-03-31 16:03:36 +00:00
|
|
|
module = app.app
|
2015-03-31 13:11:40 +00:00
|
|
|
# the virtualenv (full path)
|
|
|
|
home = /home/james/production/env
|
|
|
|
|
|
|
|
# process-related settings
|
|
|
|
# master
|
|
|
|
master = true
|
|
|
|
# maximum number of worker processes
|
|
|
|
processes = 1
|
|
|
|
# the socket (use the full path to be safe
|
|
|
|
socket = /tmp/james.sock
|
|
|
|
# ... with appropriate permissions - may be needed
|
|
|
|
chmod-socket = 664
|
|
|
|
# clear environment on exit
|
|
|
|
vacuum = true
|