writefreely/server/handlers/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 24 Jul 2021 10:29:21 -0500
changeset 169 f4f9b52ede46
parent 159 05d0cf32e077
child 171 534b247bed1c
permissions -rw-r--r--
Fixed dendrite restart handler bug.

---

- name: reload service
  become: yes
  systemd: name="writefreely@{{writefreely_instance}}.service" enabled="yes" daemon_reload="yes"

- name: migrate db
  become: yes
  become_user: "{{writefreely_user}}"
  command: "writefreely db migrate"
  args:
    chdir: "{{writefreely_dir}}/{{writefreely_instance}}/"