File: ocsinventory-agent.logrotate

package info (click to toggle)
ocsinventory-agent 2%3A2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,104 kB
  • sloc: perl: 27,740; xml: 773; objc: 458; ansic: 333; sh: 316; makefile: 12
file content (21 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# OCS Inventory NG Agent
#
# Copyleft 2006 Didier LIROULET
# Web: http://ocsinventory.sourceforge.net
#
# This code is open source and may be copied and modified as long as the source
# code is always made freely available.
# Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
################################################################################
#
# Rotate OCS Inventory NG agent logs daily, only if not empty
# Save 7 days old logs under compressed mode
/var/log/ocsinventory-client/*.log {
	daily
	rotate 7
	compress
	notifempty
	missingok
}