/var/log/ldap/*.log {
daily
missingok
notifempty
delaycompress
sharedscripts
postrotate
# OpenLDAP logs via syslog, restart syslog if running
/usr/bin/systemctl -s HUP kill rsyslog.service 2> /dev/null || true
endscript
}