Added logrotate file.
This commit is contained in:
parent
1c8beb69ce
commit
d995c26827
15
configs/logrotate
Normal file
15
configs/logrotate
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user