diff --git a/uwsgi-python/templates/uwsgi.ini.j2 b/uwsgi-python/templates/uwsgi.ini.j2 index 01d4119eecf791dd4f64ea2ea9d85a7985ed7934..630c5a41905704a2cd1e1ec8c86eaee242127dae 100644 --- a/uwsgi-python/templates/uwsgi.ini.j2 +++ b/uwsgi-python/templates/uwsgi.ini.j2 @@ -8,18 +8,18 @@ master = processes = 4 workers = 4 prio = -5 -harakiri = {{uwsgi_harakiri|default(5)}} +harakiri = {{app_harakiri|default(5)}} buffer-size=32768 -{% if uwsgi_enable_threads %} +{% if app_enable_threads|default(false) %} enable-threads = {% endif %} -{% if uwsgi_options is defined %} -{% for option in uwsgi_options %} +{% if app_uwsgi_options is defined %} +{% for option in app_uwsgi_options %} {{option}}{% if "=" not in option %} ={% endif %} {% endfor %} {% endif %} -{% for mule in range(uwsgi_mules) %} +{% for mule in range(app_mules|default(0)) %} mule = {% endfor %} #umask = 227