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