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 {
|
/var/log/dwelling-upload/*log {
|
||||||
nocreate
|
nocreate
|
||||||
|
copytruncate
|
||||||
size 1M
|
size 1M
|
||||||
compress
|
compress
|
||||||
compresscmd /usr/bin/zstd
|
compresscmd /usr/bin/zstd
|
||||||
compressext .zst
|
compressext .zst
|
||||||
compressoptions -T0 --long -15
|
compressoptions -T0 --long -15
|
||||||
uncompresscmd /usr/bin/unzstd
|
uncompresscmd /usr/bin/unzstd
|
||||||
sharedscripts
|
|
||||||
missingok
|
missingok
|
||||||
notifempty
|
notifempty
|
||||||
postrotate
|
|
||||||
/bin/pkill -HUP dwelling-upload
|
|
||||||
endscript
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user