deferredqueue 773 B

123456789101112131415161718
  1. #!/bin/bash
  2. set -e
  3. set -u
  4. DEFDIR="/srv/ftp-master.debian.org/deferred"
  5. STATDIR="/srv/ftp-master.debian.org/stat"
  6. DEFFILE="/srv/ftp-master.debian.org/html/deferred.html"
  7. # First generate the deferred stuff
  8. dak show-deferred -r ${STATDIR} > ${DEFFILE}
  9. # Now send it over to fasolo
  10. # The files want to change from symlinks to files.
  11. rsync -aq -L --delete -e "ssh -F /srv/ftp-master.debian.org/dak/config/homedir/ssh/usper-config" ${DEFDIR}/. defsync:/does/not/matter
  12. rsync -aq -e "ssh -F /srv/ftp-master.debian.org/dak/config/homedir/ssh/usper-config" ${DEFFILE} deffsync:/does/not/matter
  13. rsync -aq -e "ssh -F /srv/ftp-master.debian.org/dak/config/homedir/ssh/usper-config" ${STATDIR}/deferred.rrd rrdsync:/does/not/matter