/var/log/edgedragon/*.log {
    daily
    rotate 14
    missingok
    notifempty
    compress
    delaycompress
    sharedscripts
    postrotate
        if systemctl is-active edgedragon > /dev/null 2>&1; then
            kill -HUP $(systemctl show --property MainPID --value edgedragon)
        fi
    endscript
}
