summaryrefslogtreecommitdiffstats
path: root/system/netdata.logrotate.in
blob: a026a8a5176620fc1700f90d05c4ac5b7142e37f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@localstatedir_POST@/log/netdata/*.log {
	daily
	missingok
	rotate 14
	compress
	delaycompress
	notifempty
	sharedscripts
	create 0664 netdata netdata
	postrotate
		/bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true
	endscript
}