summaryrefslogtreecommitdiffstats
path: root/system/netdata.logrotate.in
blob: a766b6cce48f832f2167dd11425f60f91ffe963a (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 @localstatedir_POST@/run/netdata/netdata.pid 2>/dev/null` 2>/dev/null || true
	endscript
}