sonic-buildimage/files/image_config/logrotate/logrotate.d/btmp
abdosi 8d2bf370d1 [baseimage]: Logrotate for wtmp and btmp files. (#8743)
Added logrotate file for wtmp and btmp to override default conf and set size cap as 100K as done in 
PR: #865. For buster this is control by separate file wtmp and btmp.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
2021-09-26 21:36:03 -07:00

8 lines
132 B
Plaintext

# no packages own btmp -- we'll rotate it here
/var/log/btmp {
missingok
size 100k
create 0660 root utmp
rotate 1
}