From 632af0670fcf3e6ec578bc8c3a268dfc6d389478 Mon Sep 17 00:00:00 2001 From: Anton McClure Date: Tue, 14 May 2019 14:17:49 -0400 Subject: [PATCH] Add 'roles/common/files/mirror-rsync-daily' --- roles/common/files/mirror-rsync-daily | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/common/files/mirror-rsync-daily diff --git a/roles/common/files/mirror-rsync-daily b/roles/common/files/mirror-rsync-daily new file mode 100644 index 0000000..22acaf6 --- /dev/null +++ b/roles/common/files/mirror-rsync-daily @@ -0,0 +1,5 @@ +#!/bin/bash +# Mirror rsync jobs for ftp.thunix.net that run daily + +rsync -rvltpHS --delete-excluded rsync://ftp.halifax.rwth-aachen.de/ubuntu-releases/ /var/www/ftp.thunix.cf/ubuntu-releases +rsync -avz --delete --safe-links rsync://rsync.apache.org/apache-dist /var/www/ftp.thunix.cf/apache/ \ No newline at end of file