summaryrefslogtreecommitdiffstats
path: root/glpi-logrotate
blob: e25627fefe5d60282c2f159bd0dc713abb81b6b8 (plain)
1
2
3
4
5
6
7
8
9
10
# 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
}