X-Git-Url: https://git.exim.org/mirror-monitor.git/blobdiff_plain/53d2399cd7efb87d942e7b255fb70a27ee6bb02a..9a436caa4376ce96ad3c6d2b2d840c27d902871e:/bin/run_mirmon diff --git a/bin/run_mirmon b/bin/run_mirmon index 4dd1b57..8b850c2 100755 --- a/bin/run_mirmon +++ b/bin/run_mirmon @@ -3,9 +3,13 @@ # # Runs mirmon for both ftp and www repos # -MIRMON_BASE=/home/services/mirmon/mirmon - +MIRMON_BASE=/opt/cumin/services/mirror-monitor/mirmon cd ${MIRMON_BASE} || exit + +# update the repository in case of changes +git pull -q + +# work through the mirrors for set in www ftp do ./mirmon -q -get update -c mirmon_${set}.conf