clickmap/examples/uwsgi.ini
2025-05-26 10:48:14 +02:00

25 lines
534 B
INI

[uwsgi]
plugin = python3
socket = 127.0.0.1:5000
processes = 4
threads = 2
wsgi-file = application.wsgi
callable = app
umask = 022
# Settings above this line should be safe to reuse unchanged.
# Below settings may need tweaking.
# Where the repo root is located
application_base = /path/to/repo
# The name of the directory under chdir where the virtualenv is stored
virtualenv = env
# Settings below this line should be left as they are.
chdir = %(application_base)
exec-pre-app = rm -f %(application_base)/work/lockfile.lock~