git://git.exim.org
/
mirror-monitor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 2856: add Alibaba Cloud www mirror
[mirror-monitor.git]
/
bin
/
run_mirmon
diff --git
a/bin/run_mirmon
b/bin/run_mirmon
index 016c999c37781d2fa0cdfa81c41935c5c8cd13d7..8b850c2031d981f94ca79edffeae5509cd0db943 100755
(executable)
--- a/
bin/run_mirmon
+++ b/
bin/run_mirmon
@@
-3,9
+3,13
@@
#
# Runs mirmon for both ftp and www repos
#
#
# Runs mirmon for both ftp and www repos
#
-MIRMON_BASE=/home/nm4/mirror-monitor/mirmon
-
+MIRMON_BASE=/opt/cumin/services/mirror-monitor/mirmon
cd ${MIRMON_BASE} || exit
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
for set in www ftp
do
./mirmon -q -get update -c mirmon_${set}.conf