/var/log/ldap/*.log { daily missingok notifempty delaycompress sharedscripts postrotate # OpenLDAP logs via syslog, restart syslog if running /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true endscript }