1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-18 20:50:10 +01:00

mirror-to-mirror.sh: also sync to plug-mirror.rcac.purdue.edu

This is the deployed script for pushing to the primary mirrors.  It starts
with the 'repo' section and runs all the rsyncs in parallel to each primary
mirror.  Once the 'repo' syncs are done, it does the same process for the
'archive' syncs. This adds a new primary push mirror at PLUG. #163

!800 !792
[skip ci]
This commit is contained in:
Hans-Christoph Steiner 2021-09-16 10:00:59 +02:00
parent 5b9fd12150
commit adbd7ba757
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -15,7 +15,7 @@ set -e
cd /home/fdroid cd /home/fdroid
for section in repo archive; do for section in repo archive; do
echo "Started $section at `date`:" echo "Started $section at `date`:"
for host in fdroid@mirror.f-droid.org fdroid@ftp-push.lysator.liu.se; do for host in fdroid@ftp-push.lysator.liu.se fdroid@plug-mirror.rcac.purdue.edu fdroid@mirror.f-droid.org; do
set -x set -x
# be super careful with the trailing slashes here! if one is wrong, it'll delete the entire section! # be super careful with the trailing slashes here! if one is wrong, it'll delete the entire section!
rsync --archive --delay-updates --progress --delete \ rsync --archive --delay-updates --progress --delete \