]> arthur.barton.de Git - netdata.git/blob - system/netdata.logrotate.in
Merge remote-tracking branch 'fredericopissarra/changes' into registry
[netdata.git] / system / netdata.logrotate.in
1 @localstatedir_POST@/log/netdata/*.log {
2         daily
3         missingok
4         rotate 14
5         compress
6         delaycompress
7         notifempty
8         sharedscripts
9         postrotate
10                 if service netdata status > /dev/null ; then \
11                         service netdata restart > /dev/null; \
12                 fi;
13         endscript
14 }
15