summaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
Diffstat (limited to 'site')
-rw-r--r--site/download/index.php9
-rw-r--r--site/variables.template.php10
2 files changed, 17 insertions, 2 deletions
diff --git a/site/download/index.php b/site/download/index.php
index 3e8b620..04b0a46 100644
--- a/site/download/index.php
+++ b/site/download/index.php
@@ -137,6 +137,15 @@
?>
</ul>
+ <h2 id="mirror">Mirroring <?php echo $lbProjectName; ?></h2>
+ <p>
+ Create a directory in your web server directory, eg <?php echo $lbProjectName; ?>/.<br/>
+ $ <b><?php echo $lbRsyncCommand; ?></b>
+ </p>
+ <p>
+ Add this to your crontab.
+ </p>
+
<p>
Are you running a mirror? Contact the <?php echo $lbProjectName; ?> project
(details are on the <a href="../">home page</a>), and the link will be added here.
diff --git a/site/variables.template.php b/site/variables.template.php
index 4a0cd63..b07f0c5 100644
--- a/site/variables.template.php
+++ b/site/variables.template.php
@@ -49,10 +49,16 @@
/* HTTP mirrors (for release archives) */
$lbHttpMirror = array(
- "../docs/release.html",
- "http://www.libreboot.org/release/"
+ "http://www.libreboot.org/release/",
+ "https://freedombox.org/libreboot/",
+ "http://www.mirrorservice.org/sites/libreboot.org/release/",
+ "ftp://ftp.mirrorservice.org/sites/libreboot.org/release/",
+ "rsync://rsync.mirrorservice.org/libreboot.org/release/"
);
+ /* rsync command (for mirroring the project) */
+ $lbRsyncCommand = "rsync -avxP --delete --stats libreboot.org::mirrormirror /path/to/webserver/directory/libreboot/";
+
/* Bug tracker URL */
$lbBugTrackerAddress = "http://projects.mtjm.eu/projects/libreboot";