From 4e312b97691dc96758c7ef74473bc6f79ce04912 Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Tue, 5 May 2015 12:45:32 +0100 Subject: [PATCH] Ensure mirmon picks up git changes automagically --- bin/run_mirmon | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2