Merge pull request #2246 from SkynetLabs/amend-skyd-logrotate-and-add-pinner

Amend skyd logrotate and add pinner
This commit is contained in:
Karol Wypchło 2022-09-27 13:18:14 +02:00 committed by GitHub
commit 8ce5c9d7e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 4 deletions

View File

@ -0,0 +1,11 @@
/home/user/skynet-webportal/docker/data/pinner/*.log {
daily
rotate 10
minsize 100M
copytruncate
notifempty
dateext
missingok
compress
compressoptions --best
}

View File

@ -1,13 +1,12 @@
/home/user/skynet-webportal/docker/data/sia/*.log /home/user/skynet-webportal/docker/data/sia/*.log
/home/user/skynet-webportal/docker/data/sia/*/*.log { /home/user/skynet-webportal/docker/data/sia/*/*.log {
daily daily
rotate 3650 rotate 10
minsize 500M minsize 100M
create 644 root root copytruncate
notifempty notifempty
dateext dateext
missingok missingok
compress compress
compressoptions --best compressoptions --best
delaycompress
} }