Add uwsgi config

This commit is contained in:
Mario Hüttel 2021-11-15 11:37:56 +01:00
parent dc7d4b3005
commit b60462c5ae

View File

@ -0,0 +1,15 @@
[uwsgi]
chdir=$(DJANGO_WSGI_CHDIR)
module=shimatta_kenkyusho.wsgi:application
plugins=python
master=True
pidfile=/tmp/django-shimatta-kenkyusho.pid
vacuum=true
max-requests=5000
harakiri=20
processes=5
socket=/run/django/shimatta-kenkyusho.socket
home=$(DJANGO_WSGI_VIRTUALENV)
chmod-socket=660
uid=django
gid=http