[uwsgi] variable for stats port
authorArthur Lutz <arthur.lutz@logilab.fr>
Tue, 14 Mar 2017 17:35:09 +0100
changeset 123 3e962832e9d3
parent 122 d8ced0682c44
child 124 ba70cd5e5af6
[uwsgi] variable for stats port
cubicweb/uwsgi/uwsgi.ini
pillar.example
--- a/cubicweb/uwsgi/uwsgi.ini	Thu Mar 09 19:35:12 2017 +0100
+++ b/cubicweb/uwsgi/uwsgi.ini	Tue Mar 14 17:35:09 2017 +0100
@@ -19,4 +19,4 @@
 log-master = true
 # disable uwsgi request logging
 disable-logging = true
-stats = 127.0.0.1:1717
+stats = 127.0.0.1:{{ config.cwapp_uwsgi_options.stats_port|default('1717', true) }}
--- a/pillar.example	Thu Mar 09 19:35:12 2017 +0100
+++ b/pillar.example	Tue Mar 14 17:35:09 2017 +0100
@@ -68,6 +68,7 @@
         threads: 8
         #file: /etc/cubicweb.d/app/wsgiapp.py
         #enabled: false
+        stats_port: 1717
       pyramid:
         sessions_secret: CHANGEME
         authtk_sessions_secret: CHANGEME