From 9c7211006f7da3258b64e030bf49f38ea6c5c2a0 Mon Sep 17 00:00:00 2001
From: Robin Sonnabend <robin@fsmpi.rwth-aachen.de>
Date: Wed, 11 Jul 2018 00:40:38 +0200
Subject: [PATCH] Rename uwsgi option variables to app_*

This affects harakiri, enable_threads and mules.
---
 uwsgi-python/templates/uwsgi.ini.j2 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/uwsgi-python/templates/uwsgi.ini.j2 b/uwsgi-python/templates/uwsgi.ini.j2
index 01d4119..630c5a4 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
-- 
GitLab