Adding sample ini file for uwsgi.

This commit is contained in:
Mathias Behrle
2014-09-13 18:57:42 +02:00
parent 9f6cc1ef33
commit cc999a8f27

14
contrib/uwsgi/mayan.ini Normal file
View File

@@ -0,0 +1,14 @@
# Sample file for uswgi with mayan installed in a virtualenv mayan
# with project directory mayan e.g. for use with nginx connecting via
# local unix socket
[uwsgi]
#socket = 127.0.0.1:3031
plugin = python
chdir = /srv/mayan/projects/mayan/mayan-edms
virtualenv = /srv/mayan/.virtualenvs/mayan
env = DJANGO_SETTINGS_MODULE=mayan.settings.production
module = django.core.handlers.wsgi:WSGIHandler()
processes = 4
threads = 2
stats = :9191
buffer-size=32768