diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-05-16 23:35:25 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-05-16 23:35:25 +0200 |
commit | af8880f3a3281612340ec3d38e823684d9af5baa (patch) | |
tree | aaf757872144bbaec8201a541a68926ba76cbaf6 /roles/wiki/handlers | |
parent | 70f16ac939497e3e424bad05c5f82ce36d1bceda (diff) |
wiki/website: harden config and port to Debian 10.
Diffstat (limited to 'roles/wiki/handlers')
-rw-r--r-- | roles/wiki/handlers/main.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/wiki/handlers/main.yml b/roles/wiki/handlers/main.yml index 109c63d..ac9ad2b 100644 --- a/roles/wiki/handlers/main.yml +++ b/roles/wiki/handlers/main.yml @@ -5,3 +5,12 @@ - name: Refresh ikiwiki become_user: ikiwiki command: ikiwiki --setup /var/lib/ikiwiki/fripost-wiki.setup --refresh --wrappers + +- name: systemctl daemon-reload + command: /bin/systemctl daemon-reload + +- name: Stop ikiwiki + service: name=ikiwiki.service state=stopped + +- name: Restart ikiwiki + service: name=ikiwiki.socket state=restarted |