netdata/netdata

View on GitHub
system/logrotate/netdata.in

Summary

Maintainability
Test Coverage
@localstatedir_POST@/log/netdata/*.log {
    daily
    missingok
    rotate 14
    compress
    delaycompress
    notifempty
    sharedscripts
    postrotate
        /bin/kill -HUP `cat /run/netdata/netdata.pid 2>/dev/null` 2>/dev/null || true
    endscript
}