In logrotate truncate file instead of recreating it.
This commit is contained in:
parent
914784bb9f
commit
b4d38e6146
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user