writefreely/server/handlers/main.yaml
changeset 171 534b247bed1c
parent 159 05d0cf32e077
--- a/writefreely/server/handlers/main.yaml	Sat Jul 24 10:29:53 2021 -0500
+++ b/writefreely/server/handlers/main.yaml	Sat Jul 24 17:55:23 2021 -0500
@@ -4,6 +4,10 @@
   become: yes
   systemd: name="writefreely@{{writefreely_instance}}.service" enabled="yes" daemon_reload="yes"
 
+- name: restart service
+  become: yes
+  systemd: name="writefreely@{{writefreely_instance}}.service" state="restarted" enabled="yes" daemon_reload="yes"
+
 - name: migrate db
   become: yes
   become_user: "{{writefreely_user}}"