change skyd logrotate to copytruncate

This commit is contained in:
Karol Wypchlo 2022-09-26 11:30:13 +02:00
parent 919d22b314
commit 2ea337a3b0
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 3 additions and 4 deletions

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