瀏覽代碼

Merge pull request #103 from percipient/fix-nginx-kill

Fix the command that was killing nginx process.
susefix
Forrest 8 年之前
父節點
當前提交
5fc76853b3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      nginx/package.sls

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

@@ -23,7 +23,7 @@ nginx-old-init:
{% endif %}
module.wait:
- name: cmd.run
- cmd: kill `cat /var/run/nginx.pid`
- cmd: sh -c "kill `cat /var/run/nginx.pid`"
- watch:
- file: nginx-old-init
- require_in:

Loading…
取消
儲存