mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-21 05:45:13 +00:00
36 lines
555 B
Text
36 lines
555 B
Text
![]() |
/srv/newsblur/logs/*.log {
|
||
|
daily
|
||
|
size 50M
|
||
|
rotate 10
|
||
|
copytruncate
|
||
|
delaycompress
|
||
|
compress
|
||
|
notifempty
|
||
|
missingok
|
||
|
su nb nb
|
||
|
}
|
||
|
|
||
|
/var/log/nginx/*.log {
|
||
|
daily
|
||
|
rotate 10
|
||
|
copytruncate
|
||
|
delaycompress
|
||
|
compress
|
||
|
notifempty
|
||
|
missingok
|
||
|
}
|
||
|
|
||
|
/var/log/haproxy*.log {
|
||
|
su root root
|
||
|
rotate 4
|
||
|
weekly
|
||
|
missingok
|
||
|
notifempty
|
||
|
compress
|
||
|
delaycompress
|
||
|
sharedscripts
|
||
|
postrotate
|
||
|
reload rsyslog >/dev/null 2>&1 || true
|
||
|
endscript
|
||
|
}
|