Fixed dendrite restart handler bug.
--- a/dendrite/server/handlers/main.yaml Sat Jul 24 08:50:40 2021 -0500
+++ b/dendrite/server/handlers/main.yaml Sat Jul 24 10:29:21 2021 -0500
@@ -1,5 +1,5 @@
---
-- name: reload service
+- name: restart service
become: yes
- systemd: name="dendrite@{{dendrite_instance}}.service" enabled="yes" daemon_reload="yes"
+ systemd: name="dendrite@{{dendrite_instance}}.service" state="restarted" daemon_reload="yes"
--- a/dendrite/server/tasks/main.yaml Sat Jul 24 08:50:40 2021 -0500
+++ b/dendrite/server/tasks/main.yaml Sat Jul 24 10:29:21 2021 -0500
@@ -52,7 +52,7 @@
owner: "{{dendrite_user}}"
group: "{{dendrite_user}}"
mode: "0755"
- notify: reload service
+ notify: restart service
loop:
- "{{dendrite_dir}}"
- "{{dendrite_dir}}/{{dendrite_instance}}"
@@ -90,7 +90,7 @@
mode: "0600"
owner: "{{dendrite_user}}"
group: "{{dendrite_user}}"
- notify: reload service
+ notify: restart service
- name: install systemd service
become: yes