Added logrotate file.
This commit is contained in:
parent
6dbe154bbc
commit
77f9005ba4
15
configs/logrotate
Normal file
15
configs/logrotate
Normal file
@ -0,0 +1,15 @@
|
||||
/var/log/dwelling-radio/radio.log {
|
||||
nocreate
|
||||
size 1M
|
||||
compress
|
||||
compresscmd /usr/bin/zstd
|
||||
compressext .zst
|
||||
compressoptions -T0 --long -15
|
||||
uncompresscmd /usr/bin/unzstd
|
||||
sharedscripts
|
||||
missingok
|
||||
notifempty
|
||||
postrotate
|
||||
/bin/pkill -HUP dwelling-radio
|
||||
endscript
|
||||
}
|
Loading…
Reference in New Issue
Block a user