1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00
weblate_ynh/conf/uwsgi.ini
2017-09-13 14:49:10 +02:00

31 lines
812 B
INI

[uwsgi]
uid = __APP__
gid = users
protocol = uwsgi
wsgi-file = __FINALPATH__/weblate/wsgi.py
python-path = __FINALPATH__
# Needed for OAuth/OpenID
buffer-size = 8192
# Increase number of workers for heavily loaded sites
#workers = 6
# Needed for background processing
enable-threads = true
# Child processes do not need file descriptors
close-on-exec = true
# Avoid default 0000 umask
umask = 0022
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 4
# the socket (use the full path to be safe
socket = /opt/__APP__/uwsgi.sock
# ... with appropriate permissions - may be needed
chmod-socket = 666
stats = /opt/__APP__/stats.sock
# clear environment on exit
vacuum = true
plugins = python3