Files
configpolicy/roles/samba-dc/files/krb5kdc.logrotate.conf
Dustin C. Hatch d26de78b3d r/samba-dc: Rotate KDC log weekly
The Samba KDC log file seems to grow rather quickly sometimes, outpacing
the monthly rotation policy.  Let's rotate it weekly and keep 4
historical versions.
2023-05-23 08:31:58 -05:00

10 lines
169 B
Plaintext

/var/log/krb5kdc.log /var/log/samba/mit_kdc.log {
missingok
notifempty
weekly
rotate 4
postrotate
pkill -HUP krb5kdc || true
endscript
}