Add logrotate configuration
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
ac2021c458
commit
71bf5169de
2 changed files with 12 additions and 0 deletions
11
system/etc/logrotate.d/custom.conf
Normal file
11
system/etc/logrotate.d/custom.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
compresscmd zstd
|
||||
uncompresscmd unzstd
|
||||
compressoptions -9 --long -T0
|
||||
compressext .zst
|
||||
|
||||
/home/severin/.local/log/*.log {
|
||||
compress
|
||||
daily
|
||||
rotate 5
|
||||
size 512K
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue