瀏覽代碼

Don't execute a2ensite if the vhost is already enabled

tags/v0.37.4
vincentfretin 10 年之前
父節點
當前提交
18d8c0c0fb
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      apache/vhosts/standard.sls

+ 1
- 0
apache/vhosts/standard.sls 查看文件

@@ -24,6 +24,7 @@ include:
a2ensite {{ id }}:
cmd:
- run
- unless: ls /etc/apache2/sites-enabled/{{ id }}
- require:
- file: {{ id }}
- watch_in:

Loading…
取消
儲存