Added copytruncate to truncate a file instead of recreating. Removed script to send SIGHUP since it is not used anymore.
This commit is contained in:
parent
afbaad971a
commit
8eb8a24a23
@ -1,15 +1,12 @@
|
||||
/var/log/dwelling-upload/*log {
|
||||
nocreate
|
||||
copytruncate
|
||||
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-upload
|
||||
endscript
|
||||
}
|
Loading…
Reference in New Issue
Block a user