Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /home/deploy/www/mysite.com/log/*log {
- su
- daily
- dateext
- dateformat _%Y_%m_%d
- rotate 3
- missingok
- dateext
- compress
- delaycompress
- notifempty
- copytruncate
- sharedscripts
- lastaction
- rvmsudo passenger-config reopen-logs;
- /usr/bin/s3cmd sync /home/deploy/www/mysite.com/log/*.gz s3://mysite_com/logs/rails/
- endscript
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement