Sfoglia il codice sorgente

Reload web service instead of restart

tags/v1.0.0
Benjamin Neff 6 anni fa
parent
commit
db37c740a0
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 15 aggiunte e 0 eliminazioni
  1. +15
    -0
      diaspora/service.sls

+ 15
- 0
diaspora/service.sls Vedi File

@@ -52,7 +52,22 @@ diaspora_service:
- file: /etc/systemd/system/diaspora.target
- service: diaspora_sidekiq_service
- service: diaspora_web_service

diaspora_sidekiq_service_restart:
service.running:
- name: diaspora-sidekiq.service
- require:
- service: diaspora_service
- watch:
- git: diaspora_git
- file: {{ diaspora.install_path }}/config/database.yml
- file: {{ diaspora.install_path }}/config/diaspora.yml

diaspora_web_service_restart:
service.running:
- name: diaspora-web.service
- reload: True
- require:
- service: diaspora_service
- watch:
- service: diaspora_sidekiq_service_restart

Loading…
Annulla
Salva