1
0

In logrotate truncate file instead of recreating it.

This commit is contained in:
Alexander Andreev 2023-06-12 21:35:24 +04:00
parent 914784bb9f
commit b4d38e6146
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -1,5 +1,6 @@
/var/log/dwelling-radio/*log {
nocreate
copytruncate
missingok
notifempty
size 10M
@ -8,8 +9,4 @@
compressext .zst
compressoptions -T0 --long -15
uncompresscmd /usr/bin/unzstd
sharedscripts
postrotate
/bin/pkill -HUP dwelling-radio
endscript
}