浏览代码

Reload web service instead of restart

tags/v1.0.0
Benjamin Neff 6 年前
父节点
当前提交
db37c740a0
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. +15
    -0
      diaspora/service.sls

+ 15
- 0
diaspora/service.sls 查看文件

@@ -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

正在加载...
取消
保存