Feature request #3948

Setup logrotate

Added by Pirmin Kalberer over 13 years ago. Updated over 13 years ago.

Status:Closed
Priority:Normal
Assignee:Pirmin Kalberer
Category:-
Pull Request or Patch supplied:

Description

Setup logrotate

History

#1 Updated by Pirmin Kalberer over 13 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
}

Also available in: Atom PDF