Do a sleep before reloading the website, to avoid interfering with automirror

This should hopefully get rid of transient errors caused by automirror hitting
the site during reload, before our script has a change to pull the local site.
This commit is contained in:
Magnus Hagander
2011-12-18 17:05:09 +01:00
parent fcfd00aaa8
commit dcc7c4474d

View File

@ -12,6 +12,10 @@
UPDDIR=$(dirname $0)
cd $UPDDIR
# Sleep 20 seconds to avoid interfering with the automirror scripts that
# also run exactly on the minute.
sleep 20
# Pull changes from the it repo
git pull -q >/dev/null 2>&1