From cc999a8f2776322f7c3e3d7dc0b68fe95be662cb Mon Sep 17 00:00:00 2001 From: Mathias Behrle Date: Sat, 13 Sep 2014 18:57:42 +0200 Subject: [PATCH] Adding sample ini file for uwsgi. --- contrib/uwsgi/mayan.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 contrib/uwsgi/mayan.ini diff --git a/contrib/uwsgi/mayan.ini b/contrib/uwsgi/mayan.ini new file mode 100644 index 0000000000..fc641f1f84 --- /dev/null +++ b/contrib/uwsgi/mayan.ini @@ -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 \ No newline at end of file