2017-09-13 14:49:10 +02:00
|
|
|
[uwsgi]
|
2017-09-18 15:08:21 +02:00
|
|
|
plugins = python
|
|
|
|
master = true
|
|
|
|
protocol = uwsgi
|
2017-09-20 15:14:35 +02:00
|
|
|
socket = /var/run/uwsgi/app/__NAME__/socket
|
2017-09-18 15:08:21 +02:00
|
|
|
virtualenv = __FINALPATH__/venv
|
|
|
|
wsgi-file = __FINALPATH__/venv/lib/python2.7/site-packages/weblate/wsgi.py
|
|
|
|
python-path = __FINALPATH__/venv
|
|
|
|
# In case you're using virtualenv uncomment this:
|
|
|
|
# virtualenv = /path/to/weblate/virtualenv
|
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
|