X-Git-Url: https://git.exim.org/mirror-monitor.git/blobdiff_plain/53d2399cd7efb87d942e7b255fb70a27ee6bb02a..747e971c7c17a3359d4a6bcb0235f04fac6440ab:/bin/run_mirmon?ds=sidebyside diff --git a/bin/run_mirmon b/bin/run_mirmon index 4dd1b57..f84af9d 100755 --- a/bin/run_mirmon +++ b/bin/run_mirmon @@ -3,9 +3,14 @@ # # Runs mirmon for both ftp and www repos # -MIRMON_BASE=/home/services/mirmon/mirmon +MIRMON_BASE=/home/nm4/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