# mysite_uwsgi.ini file [uwsgi] # Django-related settings # the base directory (full path) chdir = /home/james/production # Callables module = app callable = app # the virtualenv (full path) virtualenv = /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