diff options
Diffstat (limited to 'glpi-logrotate')
-rw-r--r-- | glpi-logrotate | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/glpi-logrotate b/glpi-logrotate new file mode 100644 index 0000000..e25627f --- /dev/null +++ b/glpi-logrotate @@ -0,0 +1,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 +} |