1
0

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:
Alexander Andreev 2023-05-25 02:27:03 +04:00
parent afbaad971a
commit 8eb8a24a23
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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
}