if [ -f $SYNCLOCKFILE ]; then
# lock file already present, bail
exit 1
fi
echo -n ">>> Sync log for " > $SYNCLOGFILE
date >> $SYNCLOGFILE
cd /www/download.ourlinux.net/archlinux
touch $SYNCLOCKFILE
su - bixuan -c "/www/download.ourlinux.net/archlinux/sync.sh" >> $SYNCLOGFILE
rm -f $SYNCLOCKFILE
END