blob: d440193fb5601f10e3aab6c5ed204587c9fb0626 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/var/log/httpd/*_log /var/log/httpd/apache_runtime_status /var/log/httpd/ssl_mutex {
rotate <%= scope.lookupvar('apache::var::httpdlogs_rotate') %>
<% if @hostname == 'duvel' then %>
daily
<% else %>
monthly
<% end %>
missingok
notifempty
compress
postrotate
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}
|