add logrotatecontents directive to osfamilymap

This commit is contained in:
l00d3r 2021-10-21 15:17:51 +03:00 committed by GitHub
parent 4d38d6e134
commit bd9f38c352
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: