Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (33 sloc) 561 Bytes
/srv/newsblur/logs/*.log {
daily
size 50M
rotate 10
copytruncate
delaycompress
compress
notifempty
missingok
su sclay sclay
}
/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
}