[uwsgi] add misc options to end of line from pillars
authorArthur Lutz <arthur.lutz@logilab.fr>
Thu, 21 Sep 2017 14:07:23 +0200
changeset 126 dc6cc57a778b
parent 125 de1d190ec0f2
child 127 1104f14a04b2
[uwsgi] add misc options to end of line from pillars
cubicweb/uwsgi/uwsgi.ini
pillar.example
--- a/cubicweb/uwsgi/uwsgi.ini	Wed Apr 05 09:22:16 2017 +0200
+++ b/cubicweb/uwsgi/uwsgi.ini	Thu Sep 21 14:07:23 2017 +0200
@@ -20,3 +20,8 @@
 # disable uwsgi request logging
 disable-logging = true
 stats = 127.0.0.1:{{ config.cwapp_uwsgi_options.stats_port|default('1717', true) }}
+
+{% for line in config.cwapp_uwsgi_optione.misc_options|default((), true) %}
+{{ line }}
+{% endfor %}
+
--- a/pillar.example	Wed Apr 05 09:22:16 2017 +0200
+++ b/pillar.example	Thu Sep 21 14:07:23 2017 +0200
@@ -69,6 +69,8 @@
         #file: /etc/cubicweb.d/app/wsgiapp.py
         #enabled: false
         stats_port: 1717
+        #misc_options:
+        #   - "evil-reload-on-rss=500M"
       pyramid:
         sessions_secret: CHANGEME
         authtk_sessions_secret: CHANGEME