smeserver-ldap/root/etc/logrotate.d/ldap
Jean-Philippe Pialasse 4e744a3212 * Tue Aug 13 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme
- ldif-fix filter string accepting only ascii [SME: 12720]
- fix logrotate does not fill new log [SME: 12673]
- fix prestart script logs to messages [SME: 12693]
2024-08-13 22:04:32 -04:00

12 lines
262 B
Plaintext

/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
}