ansible/roles/copr/frontend/files/httpd.logrotate
Pavel Raiskup 60ad73d1ad copr: fe: compress rotated logs
This is disturbing on staging instance where is small disk.  We often
have to cleanup the logs manually.
2020-04-24 21:34:12 +02:00

12 lines
224 B
Text

# managed by Ansible
/var/log/httpd/*log {
missingok
compress
rotate 5
notifempty
sharedscripts
postrotate
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}