@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 }