25 lines
550 B
INI
25 lines
550 B
INI
[uwsgi]
|
|
uid = umap
|
|
gid = umap
|
|
# Python related settings
|
|
# the base directory (full path)
|
|
chdir = /var/lib/umap/
|
|
# umap's wsgi module
|
|
module = umap.wsgi
|
|
# the virtualenv (full path)
|
|
home = /var/lib/umap/venv
|
|
|
|
# process-related settings
|
|
# master
|
|
master = true
|
|
# maximum number of worker processes
|
|
processes = 4
|
|
# the socket (use the full path to be safe)
|
|
socket = /var/lib/umap/uwsgi.sock
|
|
# ... with appropriate permissions - may be needed
|
|
chmod-socket = 666
|
|
stats = /var/lib/umap/stats.sock
|
|
# clear environment on exit
|
|
vacuum = true
|
|
plugins = python3
|