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 21:43:09 +02:00
|
|
|
socket = __FINALPATH__/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
|
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-20 21:43:09 +02:00
|
|
|
chmod-socket = 666
|
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
|