mirror of
https://github.com/pschiffe/docker-pdns.git
synced 2024-11-14 12:17:57 +01:00
fafae795e4
Before, the uwsgi was running in Emperor mode, supporting to run multiple different apps. However, after the upgrade to Fedora 31, Emperor mode started to take very long time to start, causing other issues. Since we are running only one app anyway - this commit simplifies the uwsgi config by switching the run mode only to single app.
26 lines
380 B
INI
26 lines
380 B
INI
[uwsgi]
|
|
strict = true
|
|
master = true
|
|
die-on-term = true
|
|
need-app = true
|
|
|
|
plugins = python3
|
|
|
|
uid = uwsgi
|
|
gid = uwsgi
|
|
|
|
chdir = /opt/powerdns-admin
|
|
pythonpath = /opt/powerdns-admin
|
|
|
|
mount = /=run.py
|
|
manage-script-name = true
|
|
callable = app
|
|
|
|
vacuum = true
|
|
harakiri = 20
|
|
buffer-size = 32768
|
|
post-buffering = 8192
|
|
socket = 0.0.0.0:9494
|
|
pidfile = /run/uwsgi/%n.pid
|
|
|
|
enable-threads = true
|