1 2 3 4 5 6 7 8 9 10 11 12 13
@localstatedir_POST@/log/netdata/*.log { daily missingok rotate 14 compress delaycompress notifempty sharedscripts create 0664 netdata netdata postrotate /bin/kill -HUP `pidof netdata 2>/dev/null` 2>/dev/null || true endscript }