Browse Source

add logrotatecontents directive to osfamilymap

pull/375/head
l00d3r 3 years ago
parent
commit
bd9f38c352
No account linked to committer's email address
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      apache/osfamilymap.yaml

+ 10
- 0
apache/osfamilymap.yaml View File

@@ -87,6 +87,16 @@ RedHat:
use_require: false
moddir: /etc/httpd/conf.modules.d
sitesdir: /etc/httpd/conf.d
logrotatecontents: |
{{ apache.logdir }}/*log {
missingok
notifempty
sharedscripts
delaycompress
postrotate
/bin/systemctl reload {{ apache.service.name }} > /dev/null 2>/dev/null || true
endscript
}

Suse:
pkg:

Loading…
Cancel
Save