File: glusterfs-common.logrotate

package info (click to toggle)
glusterfs 5.5-3
  • links: PTS
  • area: main
  • in suites: buster
  • size: 43,368 kB
  • sloc: ansic: 498,034; sh: 40,664; python: 13,893; makefile: 2,036; yacc: 484; lisp: 124; lex: 67; xml: 14
file content (12 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
/var/log/glusterfs/*.log /var/log/glusterfs/bricks/*.log {
	daily
	rotate 7
	delaycompress
	compress
	copytruncate
	notifempty
	missingok
	postrotate
		[ ! -f /var/run/glusterd.pid ] || kill -HUP `cat /var/run/glusterd.pid` ; killall -HUP glusterfs > /dev/null 2>&1 || true
	endscript
}