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 }