1
0
dwelling-upload/configs/logrotate

15 lines
313 B
Plaintext

/var/log/dwelling-upload/upload.log {
nocreate
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
}