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.step-ssh
parent
78296f7198
commit
d26de78b3d
|
@ -1,8 +1,8 @@
|
||||||
/var/log/krb5kdc.log /var/log/samba/mit_kdc.log {
|
/var/log/krb5kdc.log /var/log/samba/mit_kdc.log {
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
monthly
|
weekly
|
||||||
rotate 2
|
rotate 4
|
||||||
postrotate
|
postrotate
|
||||||
pkill -HUP krb5kdc || true
|
pkill -HUP krb5kdc || true
|
||||||
endscript
|
endscript
|
||||||
|
|
Loading…
Reference in New Issue