2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

Documentation update: work in progress

This commit is contained in:
Michael Brown 2013-06-15 01:25:41 -04:00
parent bd1b4d3130
commit a908f00771
7 changed files with 158 additions and 14 deletions

38
config/logrotate.conf Normal file
View file

@ -0,0 +1,38 @@
# rotate log files daily, keep 32 days
daily
rotate 32
# create new (empty) log files after rotating old ones
create
compress
missingok
create 0644
/home/discourse/discourse/log/clockwork.log
{
postrotate
pkill -f clockwork -HUP
endscript
}
/home/discourse/discourse/log/sidekiq.log
{
postrotate
pkill -f sidekiq -USR2
endscript
}
/home/discourse/discourse/log/production.log
{
# ????
}
/home/discourse/discourse/log/production_errors.log
{
# production_errors is opened on demand, no need to reopen
}
/home/discourse/discourse/log/thin*.log
{
postrotate
pkill -f 'thin server' -USR1
endscript
}