File: ocsinventory-server.logrotate

package info (click to toggle)
ocsinventory-server 2.8.1%2Bdfsg1%2B~2.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 23,212 kB
  • sloc: javascript: 318,983; php: 29,162; perl: 8,925; sql: 5,101; xml: 2,902; sh: 1,662; python: 77; makefile: 29
file content (21 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# OCS Inventory NG Communication Server
#
# 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 Communication server logs weekly, only if not empty
# Save 7 days old logs under compressed mode
/var/log/ocsinventory-server/*.log {
	daily
	rotate 7
	compress
	notifempty
	missingok
}