[cubicweb/instances] add watch to reload cubicweb when all-in-one is changed
authorArthur Lutz <arthur.lutz@logilab.fr>
Fri, 10 Jul 2015 17:59:15 +0200
changeset 46 c5cb7d2528ac
parent 45 8ef114703e33
child 47 4c22b98c66b0
[cubicweb/instances] add watch to reload cubicweb when all-in-one is changed
cubicweb/instances.sls
--- a/cubicweb/instances.sls	Fri Jul 10 17:58:38 2015 +0200
+++ b/cubicweb/instances.sls	Fri Jul 10 17:59:15 2015 +0200
@@ -56,6 +56,8 @@
     - name: /etc/cubicweb.d/{{name}}/all-in-one.conf
     - sections:
         {{ config.get('cwapp_config_options', {}) }}
+    - watch_in:
+      - cubicweb_instance: cw-{{vhostname}}-{{name}}-running
  {% endfor %}
 {% endfor %}