1
0

Added logrotate file.

This commit is contained in:
Alexander Andreev 2022-05-25 00:42:47 +04:00
parent 1c8beb69ce
commit d995c26827
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

15
configs/logrotate Normal file
View File

@ -0,0 +1,15 @@
/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
}