1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-04 10:06:04 +02:00
infrastructure/roles/patchwork/templates/patchwork.ini.j2
Giancarlo Razzolini 07d43cc29f
Change uwsgi file to use module
Patchwork needs its directory to be added to the python path as
well as it needs to use a module, instead of wsgi-file.
2017-06-27 15:14:25 -03:00

17 lines
353 B
Django/Jinja

[uwsgi]
plugins=python
chdir={{ patchwork_dir }}
pythonpath={{ patchwork_dir }}
module=patchwork.wsgi:application
socket=/run/uwsgi/patchwork.sock
chmod-socket=660
virtualenv={{ patchwork_dir }}/env
processes=2
threads=2
master=true
uid=patchwork
gid=http
thunder-lock = true
daemonize=/var/log/uwsgi/patchwork.log
stats=/run/uwsgi/patchwork-stats.sock