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

31 lines
815 B
INI

[uwsgi]
uid = __NAME__
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/__NAME__/uwsgi.sock
# ... with appropriate permissions - may be needed
chmod-socket = 666
stats = /opt/__NAME__/stats.sock
# clear environment on exit
vacuum = true
plugins = python3