Skip to content

Instantly share code, notes, and snippets.

@haraldmartin
Forked from henrik/logrotate.conf
Created February 22, 2009 12:27
Show Gist options
  • Save haraldmartin/68448 to your computer and use it in GitHub Desktop.
Save haraldmartin/68448 to your computer and use it in GitHub Desktop.
daily
missingok
rotate 30
compress
delaycompress
sharedscripts
/Users/deploy/Sites/rails.example.com/shared/log/*.log {
postrotate
touch /Users/deploy/Sites/rails.example.com/current/tmp/restart.txt
endscript
}
/Users/deploy/Sites/merb.example.com/shared/log/*.log {
postrotate
touch /Users/deploy/Sites/merb.example.com/current/tmp/restart.txt
endscript
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment