From 026cf2e25b5aab631a53cf80868c4965533e2cbb Mon Sep 17 00:00:00 2001 From: ubergeek Date: Fri, 1 Mar 2019 13:45:17 -0500 Subject: [PATCH] moving from common to webserver --- roles/webserver/files/mirror-rsync | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/webserver/files/mirror-rsync diff --git a/roles/webserver/files/mirror-rsync b/roles/webserver/files/mirror-rsync new file mode 100644 index 0000000..5b1d5d9 --- /dev/null +++ b/roles/webserver/files/mirror-rsync @@ -0,0 +1,6 @@ +#!/bin/bash +# Mirror rsync jobs for ftp.thunix.net + +rsync -rvltpHS --delete-excluded rsync://ftp.gnu.org/gnu/ /var/www/ftp.thunix.cf/gnu-ftp +rsync -rvltpHS --delete-excluded rsync://ftp.gnu.org/alpha/ /var/www/ftp.thunix.cf/gnu-alpha +rsync -rvltpHS --delete-excluded rsync://ftp.gnu.org/old-gnu/ /var/www/ftp.thunix.cf/gnu-old \ No newline at end of file