dendrite/server/tasks/main.yaml
changeset 229 7e3bf48e516a
parent 227 2e0366f2dcbe
child 237 c6c11084c802
equal deleted inserted replaced
228:ff776d663062 229:7e3bf48e516a
   103     dest: "/lib/systemd/system/[email protected]"
   103     dest: "/lib/systemd/system/[email protected]"
   104   notify: restart service
   104   notify: restart service
   105 
   105 
   106 - name: ensure instance service is stopped
   106 - name: ensure instance service is stopped
   107   become: yes
   107   become: yes
   108   systemd: name="dendrite@{{dendrite_instance}}.service" enabled="no" state="stopped" daemon_reload="yes"
   108   systemd: name="dendrite@{{dendrite_port}}.service" enabled="no" state="stopped" daemon_reload="yes"
   109 
   109 
   110 - name: ensure service is started
   110 - name: ensure service is started
   111   become: yes
   111   become: yes
   112   systemd: name="dendrite@{{dendrite_port}}.service" enabled="yes" state="started"
   112   systemd: name="dendrite@{{dendrite_port}}.service" enabled="yes" state="started"