smeserver-ldap/root/etc/logrotate.d/ldap

12 lines
262 B
Plaintext
Raw Normal View History

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