summaryrefslogtreecommitdiffstats
path: root/system/netdata.logrotate.in
blob: 763eb09c930d66aa1d1d5ee25fc037d7c6419fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@localstatedir_POST@/log/netdata/*.log {
	daily
	missingok
	rotate 14
	compress
	delaycompress
	notifempty
	sharedscripts
	postrotate
		if service netdata status > /dev/null ; then \
			service netdata restart > /dev/null; \
		fi;
	endscript
}