| 1 |
################################################################################ |
| 2 |
# |
| 3 |
# OCS Inventory NG Agent |
| 4 |
# |
| 5 |
# Copyleft 2006 Didier LIROULET |
| 6 |
# Web: http://ocsinventory.sourceforge.net |
| 7 |
# |
| 8 |
# This code is open source and may be copied and modified as long as the source |
| 9 |
# code is always made freely available. |
| 10 |
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt |
| 11 |
################################################################################ |
| 12 |
# |
| 13 |
# Rotate OCS Inventory NG agent logs daily, only if not empty |
| 14 |
# Save 7 days old logs under compressed mode |
| 15 |
/var/log/ocsinventory-client/*.log { |
| 16 |
daily |
| 17 |
rotate 7 |
| 18 |
compress |
| 19 |
notifempty |
| 20 |
missingok |
| 21 |
} |