From: Nigel Metheringham Date: Tue, 5 May 2015 11:45:32 +0000 (+0100) Subject: Ensure mirmon picks up git changes automagically X-Git-Url: https://git.exim.org/mirror-monitor.git/commitdiff_plain/4e312b97691dc96758c7ef74473bc6f79ce04912 Ensure mirmon picks up git changes automagically --- diff --git a/bin/run_mirmon b/bin/run_mirmon index 016c999..f84af9d 100755 --- a/bin/run_mirmon +++ b/bin/run_mirmon @@ -6,6 +6,11 @@ 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