2017-09-13 14:49:10 +02:00
|
|
|
[uwsgi]
|
2017-09-18 15:08:21 +02:00
|
|
|
plugins = python
|
|
|
|
master = true
|
|
|
|
protocol = uwsgi
|
2017-11-20 15:58:51 +01:00
|
|
|
socket = /var/run/uwsgi/__APP__.socket
|
2017-09-18 15:08:21 +02:00
|
|
|
virtualenv = __FINALPATH__/venv
|
|
|
|
wsgi-file = __FINALPATH__/venv/lib/python2.7/site-packages/weblate/wsgi.py
|
2017-09-13 14:49:10 +02:00
|
|
|
# Needed for OAuth/OpenID
|
2017-09-18 15:08:21 +02:00
|
|
|
buffer-size = 8192
|
2017-09-13 14:49:10 +02:00
|
|
|
# Increase number of workers for heavily loaded sites
|
|
|
|
#workers = 6
|
|
|
|
# Needed for background processing
|
|
|
|
enable-threads = true
|
|
|
|
# Child processes do not need file descriptors
|
2017-09-18 15:08:21 +02:00
|
|
|
close-on-exec = true
|
2017-09-13 14:49:10 +02:00
|
|
|
# Avoid default 0000 umask
|
2017-09-18 15:08:21 +02:00
|
|
|
umask = 0022
|