30 lines
529 B
INI
30 lines
529 B
INI
[uwsgi]
|
|
auto-procname = true
|
|
procname-prefix-spaced = petale
|
|
|
|
plugin = python3
|
|
module = petale.wsgi:application
|
|
|
|
http-socket = /run/petale/petale.sock
|
|
chmod-socket = 666
|
|
vacuum = true
|
|
|
|
master = true
|
|
processes = 5
|
|
harakiri = 30
|
|
enable-threads = true
|
|
max-requests = 500
|
|
max-worker-lifetime = 7200
|
|
|
|
buffer-size = 32768
|
|
|
|
py-tracebacker = /run/petale/py-tracebacker.sock.
|
|
stats = /run/petale/stats.sock
|
|
memory-report = true
|
|
|
|
ignore-sigpipe = true
|
|
|
|
if-file = /etc/petale/uwsgi-local.ini
|
|
include = /etc/petale/uwsgi-local.ini
|
|
endif =
|