Changes between Version 3 and Version 4 of mirrors/httpstatic
- Timestamp:
- Nov 14, 2014, 5:19:12 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mirrors/httpstatic
v3 v4 14 14 * crontab program or similar 15 15 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@c ross-lfs.org with the information below. You can then be added to the mirrors list. Also should you have questions, feel free to ask.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@clfs.org with the information below. You can then be added to the mirrors list. Also should you have questions, feel free to ask. 17 17 18 18 * URL … … 28 28 #!/bin/sh 29 29 30 SITE=c ross-lfs.org30 SITE=clfs.org 31 31 MODULE=clfs-www 32 32 LOCAL=/path/to/mirror # Change this value … … 39 39 40 40 if [ $? -ne 0 -o `echo -e "${OUTPUT}" | wc -l` -ne 4 ] ; then 41 (echo -e "Subject: c ross-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}; 42 42 fi 43 43 }}} … … 46 46 47 47 {{{ 48 rsync -clprt --delete c ross-lfs.org::clfs-www /path/to/mirror48 rsync -clprt --delete clfs.org::clfs-www /path/to/mirror 49 49 }}} 50 50