File: glusterfs-common.logrotate

package info (click to toggle)
glusterfs 11.1-6
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 45,156 kB
  • sloc: ansic: 467,237; sh: 51,851; python: 12,989; makefile: 1,962; yacc: 487; lisp: 124; lex: 61; 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
}