ansible/roles/s3-mirror/files/s3-mirror.logrotate
Adrian Reber 7efbd7f504 Fix s3sync and start it via cron.
This changes the s3sync setup at multiple places:

 * The s3sync script was using wrong paths which are now corrected
 * After the sync report_mirror was started which is now installed
 * The necessary report_mirror files are installed
 * The s3sync script is now running from cron instead as a service
 * Before touching any files fedmsg is queried to see if new files
   are available for syncing
 * logrotate has been adapted to the new setup
2015-08-20 18:36:07 +00:00

12 lines
206 B
Text

/var/log/s3-mirror/*log {
daily
rotate 7
missingok
ifempty
compress
compresscmd /usr/bin/bzip2
uncompresscmd /usr/bin/bunzip2
compressext .bz2
dateext
copytruncate
}