summaryrefslogtreecommitdiffstats
path: root/glpi-logrotate
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-04-05 08:42:57 +0200
committerRemi Collet <fedora@famillecollet.com>2016-04-05 08:42:57 +0200
commitd797654c7720efc552b1151862ecdaa1171065be (patch)
treed9d891e95dad897b32f87edc6e34d6c2fd749e1d /glpi-logrotate
parent5b64ff8f30058852f613b7a4eb795edabc350baa (diff)
glpi: fix logrotate
Diffstat (limited to 'glpi-logrotate')
-rw-r--r--glpi-logrotate1
1 files changed, 1 insertions, 0 deletions
diff --git a/glpi-logrotate b/glpi-logrotate
index e25627f..e92b6cf 100644
--- a/glpi-logrotate
+++ b/glpi-logrotate
@@ -1,6 +1,7 @@
# 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