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
HEAnet rsync has been down for at least a week
[mirror-monitor.git]
/
bin
/
run_mirmon
diff --git
a/bin/run_mirmon
b/bin/run_mirmon
index 4dd1b57392d91464e5722c405e9c4949822a311f..f84af9d61e43dcbc18d0c73d3c90c8bcbc9e6217 100755
(executable)
--- a/
bin/run_mirmon
+++ b/
bin/run_mirmon
@@
-3,9
+3,14
@@
#
# Runs mirmon for both ftp and www repos
#
#
# 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
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