Service/mirrors: Difference between revisions
No edit summary |
|||
| Line 96: | Line 96: | ||
* Scan and enable the mirror: | * Scan and enable the mirror: | ||
sudo -u mirrorbrain mb scan -e <mirror name> | sudo -u mirrorbrain mb scan -e <mirror name> | ||
* Export the list of mirrors for mirmon (a hourly cronjob does this, but if you don't want to wait...): | |||
mb export --format=mirmon-apache | sudo -u mirrorbrain tee /srv/mirrorbrain/mirmon/mirrorlist-export | |||
* Finally, re-run mirmon to ensure it can check the health of the mirror (this is also done by a cronjob, but our patience is very short): | |||
sudo -u mirrorbrain mirmon -v -get all -c /etc/mirmon.conf | |||