summaryrefslogtreecommitdiffstats
path: root/debian/netdata.logrotate
blob: ed49ac4b853438f01f6009d2bf9c1af480ebc7f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/var/log/netdata/*log {
	compress
	create 0640 netdata adm
	daily
	delaycompress
	missingok
	notifempty
	rotate 14
	sharedscripts
	postrotate
		if service netdata status > /dev/null ; then \
			service netdata restart > /dev/null; \
		fi;
	endscript
}