summaryrefslogtreecommitdiffstats
path: root/system/netdata.logrotate.in
blob: ae1ac50a7556c4c944742383c20367229b7f8f12 (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 `pidof netdata 2>/dev/null` 2>/dev/null || true
	endscript
}