Browse Source

restart webserver when certificate has changed

master
parent
commit
6cb94bcc48
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      handlers/main.yml

+ 7
- 0
handlers/main.yml View File

@@ -2,3 +2,10 @@

- name: restart onlyoffice documentserver
command: supervisorctl restart all

- name: restart nginx
systemd:
name: nginx.service
state: restarted
listen:
- certificate changed

Loading…
Cancel
Save