nALFS CVS snapshots?
jeroen at linuxfromscratch.org
Thu Oct 23 10:04:03 PDT 2003
Hi Gerard Beekmans. You said the following on 10/23/03 18:42:
> On Thu, 2003-10-23 at 10:35, Jeroen Coumans wrote:
>>And be careful for race conditions; the website is update twice a day
>>(check fcron); be sure not to interfere with it (it has happened before).
> A simple lock file check will help to prevent that:
> while [ -f /tmp/update-website-in-progress ]; do sleep 5; done
> As long as that file exists, the website script is running. Sleep a few
> seconds and try again, until the file is gone.
And they are already implemented; completely forgot about it:
while [ -f $LOCKFILE ]; do sleep 5; done
while [ -f $CVSCLEANLOCK ]; do sleep 5; done
Jeroen Coumans (jeroen at linuxfromscratch.org)
FAQ and Website Maintainer
More information about the website