git://git.exim.org
/
mirror-monitor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ensure mirmon picks up git changes automagically
[mirror-monitor.git]
/
bin
/
run_mirmon
1
#!/bin/sh
2
# $Cambridge$
3
#
4
# Runs mirmon for both ftp and www repos
5
#
6
MIRMON_BASE=/home/nm4/mirror-monitor/mirmon
7
8
cd ${MIRMON_BASE} || exit
9
10
# update the repository in case of changes
11
git pull -q
12
13
# work through the mirrors
14
for set in www ftp
15
do
16
./mirmon -q -get update -c mirmon_${set}.conf
17
done