[uwsgi] uid = __NAME__ gid = users # the virtualenv (full path) home = __FINALPATH__/venv 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 = python