Skip to content

Instantly share code, notes, and snippets.

@joxxoxo
Created September 27, 2013 07:41
Show Gist options
  • Save joxxoxo/6725338 to your computer and use it in GitHub Desktop.
Save joxxoxo/6725338 to your computer and use it in GitHub Desktop.
logrotate
<%= shared_path %>/log/<%= rails_env %>.log {
rotate 3
weekly
minsize 1M
missingok
copytruncate<%#create 664 <%= "#{user} #{user}" %>
notifempty
compress
delaycompress
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment