/var/log/netguardia/*.log {
    daily
    rotate 7
    compress
    delaycompress
    missingok
    notifempty
    maxsize 500M
    create 0640 root root
    sharedscripts
    postrotate
        systemctl reload netguardia.service 2>/dev/null || true
    endscript
}
