Feature request #3948
Setup logrotate
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Normal | ||
| Assignee: | |||
| Category: | - | ||
| Pull Request or Patch supplied: |
Description
Setup logrotate
History
#1
Updated by Pirmin Kalberer over 14 years ago
- Status changed from Open to Closed
/etc/logrotate.d/rails:
/var/www/redmine/log/*.log {
weekly
missingok
rotate 12
compress
delaycompress
sharedscripts
postrotate
touch /var/www/redmine/tmp/restart.txt
endscript
}