mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2024-05-04 10:06:04 +02:00
07d43cc29f
Patchwork needs its directory to be added to the python path as well as it needs to use a module, instead of wsgi-file.
17 lines
353 B
Django/Jinja
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
|