瀏覽代碼

Fix spaceing in RHEL logrotate.sls

pull/375/head
l00d3r 3 年之前
父節點
當前提交
22c05d46c3
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 7 行新增7 行删除
  1. +7
    -7
      apache/config/logrotate.sls

+ 7
- 7
apache/config/logrotate.sls 查看文件

@@ -11,13 +11,13 @@ apache-config-logrotate-file-managed:
{%- if grains.os_family == "RedHat" %}
- contents: |
{{ apache.logdir }}/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload {{ apache.service.name }} > /dev/null 2>/dev/null || true
endscript
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload {{ apache.service.name }} > /dev/null 2>/dev/null || true
endscript
}
{% else %}
- contents: |

Loading…
取消
儲存