Changes between Version 3 and Version 4 of mirrors/httpstatic


Ignore:
Timestamp:
Nov 14, 2014, 5:19:12 AM (9 years ago)
Author:
Justin R. Knierim
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mirrors/httpstatic

    v3 v4  
    1414 * crontab program or similar
    1515
    16 There is a script below which you can use to rsync the website and associated data to your mirror.  We recommend syncing twice an hour, at random minutes.  Once you have the mirror ready to go, please contact Justin Knierim at admin@cross-lfs.org with the information below.  You can then be added to the mirrors list.  Also should you have questions, feel free to ask.
     16There is a script below which you can use to rsync the website and associated data to your mirror.  We recommend syncing twice an hour, at random minutes.  Once you have the mirror ready to go, please contact Justin Knierim at admin@clfs.org with the information below.  You can then be added to the mirrors list.  Also should you have questions, feel free to ask.
    1717
    1818 * URL
     
    2828#!/bin/sh
    2929
    30 SITE=cross-lfs.org
     30SITE=clfs.org
    3131MODULE=clfs-www
    3232LOCAL=/path/to/mirror                  # Change this value
     
    3939
    4040if [ $? -ne 0 -o `echo -e "${OUTPUT}" | wc -l` -ne 4 ] ; then
    41     (echo -e "Subject: cross-lfs.org mirror - Rsync Error\n"; echo -e "${OUTPUT}") | ${MAILER} ${USER};
     41    (echo -e "Subject: clfs.org mirror - Rsync Error\n"; echo -e "${OUTPUT}") | ${MAILER} ${USER};
    4242fi
    4343}}}
     
    4646
    4747{{{
    48 rsync -clprt --delete cross-lfs.org::clfs-www /path/to/mirror
     48rsync -clprt --delete clfs.org::clfs-www /path/to/mirror
    4949}}}
    5050