www-infrastructure-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Mirrors] suggestions for tracking problems with mirrors
Date Tue, 09 Oct 2012 07:54:07 GMT
On 4 October 2012 19:41, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> sebb wrote on Thu, Oct 04, 2012 at 19:01:35 +0100:
>> On 4 October 2012 16:35, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
>> > +1 (concept), though I think having a separate file for that would be
>> > cleaner and simpler to implement.
>>
>> I don't understand - you mention having a separate file, which is what
>> I was proposing anyway?
>>
>> e.g. EU mirror would create aurora_time.txt, US => eos_time.txt
>> (or they could create eu_time.txt/us_time.txt)
>>
>> What is different about your idea?
>
> % ls -1 zzz
> hostname
> time.txt
> % cat hostname
> aurora.apache.org

So can I add the following to the end of runmirmon.sh ?

--- cut here ---
#update the hostname in dist/$HOST
HOST=zzz/hostname.txt
hostname > $DIST/$HOST.tmp
mv -f $DIST/$HOST.tmp $DIST/$HOST
--- cut here ---

I don't think there's any point having a copy of the file under ooo/.

Mime
View raw message