summaryrefslogtreecommitdiffstats
path: root/glpi-logrotate
blob: e92b6cf360413f91cbc1942eb3dd7562ed279013 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Rotate GLPI logs daily, only if not empty
# Save 14 days old logs under compressed mode
/var/log/glpi/*.log {
	su apache apache
	daily
	rotate 14
	compress
	notifempty
	missingok
	create 644 apache apache
}