/glpi-logrotate
# · #! · 10 lines · 10 code · 0 blank · 0 comment · 0 complexity · 3cbd8eca55fefd7308e59db495497cd0 MD5 · raw file
- # Rotate GLPI logs daily, only if not empty
- # Save 14 days old logs under compressed mode
- /var/log/glpi/*.log {
- daily
- rotate 14
- compress
- notifempty
- missingok
- create 644 apache apache
- }