浏览代码

Now restart nginx service instead of reload. Reload, while nice on config updates, doesn't have the required effect when you upgrade nginx. If we can reload on config update and restart on code upgrade, that would be great. For now we just always restart.

susefix
Ross Perkins 10 年前
父节点
当前提交
2c809fa402
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      nginx/source.sls

+ 1
- 1
nginx/source.sls 查看文件

@@ -175,7 +175,7 @@ nginx:
service:
- running
- enable: True
- reload: True
- restart: True
- watch:
- cmd: nginx
- file: {{ conf_dir }}/nginx.conf

正在加载...
取消
保存