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
12 lines
206 B
Text
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
|
|
}
|