[cubicweb/uwsgi] fixes
authorArthur Lutz <arthur.lutz@logilab.fr>
Tue, 29 Nov 2016 12:20:56 +0100
changeset 90 342a0b93f615
parent 89 f63f6972507b
child 91 737b2752633a
[cubicweb/uwsgi] fixes
cubicweb/uwsgi/init.sls
cubicweb/uwsgi/uwsgi.ini
--- a/cubicweb/uwsgi/init.sls	Tue Nov 29 11:42:26 2016 +0100
+++ b/cubicweb/uwsgi/init.sls	Tue Nov 29 12:20:56 2016 +0100
@@ -17,8 +17,8 @@
     - source: salt://cubicweb/uwsgi/uwsgi.ini
     - template: jinja
     - context:
-       config: config
-       name: config
+       config: {{ config }}
+       name: {{ name }}
     - require:
       - pkg: uwsgi install
 
--- a/cubicweb/uwsgi/uwsgi.ini	Tue Nov 29 11:42:26 2016 +0100
+++ b/cubicweb/uwsgi/uwsgi.ini	Tue Nov 29 12:20:56 2016 +0100
@@ -3,9 +3,9 @@
 http = 0.0.0.0:{{ config.cwapp.port|default('8080', true) }}
 env = CW_INSTANCE={{ name }}
 #env = CW_DEBUG=1
-module = pyramid_cubicweb:wsgi_application()
+module = cubicweb.pyramid:wsgi_application()
 processes = {{ config.cwapp_uwsgi_options.workers }}
-threads = {{ config.cwapp_uwsgi_options.workers }}
+threads = {{ config.cwapp_uwsgi_options.threads }}
 plugins = http,python
 auto-procname = true
 lazy-apps = true