Use a config file for uwsgi.

This commit is contained in:
Abhilash Raj
2017-05-28 14:20:39 -07:00
parent f920f88165
commit 7bc5bf5dc4
4 changed files with 24 additions and 37 deletions

10
web/mailman-web/uwsgi.ini Normal file
View File

@@ -0,0 +1,10 @@
[uwsgi]
http = :8000
chdir = /opt/mailman-web
wsgi-file = wsgi.py
process = 2
threads = 2
uid = 1000
gid = 1000
req-log = file:/opt/mailman-web-data/uwsgi.log
error-log = file:/opt/mailman-web-data/uwsgi-error.log