1
0

Added logrotate file.

This commit is contained in:
Alexander Andreev 2022-05-24 23:40:56 +04:00
parent 6dbe154bbc
commit 77f9005ba4
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

15
configs/logrotate Normal file
View 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
}