/var/log/mod_gearman/mod_gearman_worker.log {
    missingok
    notifempty
    sharedscripts
    postrotate
        systemctl condreload mod-gearman-worker > /dev/null 2>/dev/null || true
    endscript
    compress
}

/var/log/mod_gearman/mod_gearman_neb.log {
    missingok
    notifempty
    copytruncate
    compress
}
