fix mirrors
This commit is contained in:
parent
fe9394ea39
commit
dfab14939a
|
@ -1,6 +0,0 @@
|
|||
#!/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
|
|
@ -2,4 +2,4 @@
|
|||
# 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/
|
||||
rsync -avz --delete --safe-links rsync://rsync.apache.org/apache-dist /var/www/ftp.thunix.cf/apache/
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# Mirror rsync jobs for ftp.thunix.net
|
||||
# Mirror rsync jobs for ftp.thunix.net that run hourly
|
||||
|
||||
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
|
||||
rsync -rvltpHS --delete-excluded rsync://ftp.gnu.org/old-gnu/ /var/www/ftp.thunix.cf/gnu-old
|
|
@ -1,6 +1,15 @@
|
|||
- name: Add mirror rsync cron job
|
||||
# Add mirror rsync cron jobs (hourly and daily)
|
||||
---
|
||||
- name: Add mirror rsync cron job that run hourly
|
||||
copy:
|
||||
src: ../files/mirror-rsync
|
||||
dest: /etc/cron.daily/mirror-rsync
|
||||
src: ../files/mirror-rsync-hourly
|
||||
dest: /etc/cron.daily/mirror-rsync-hourly
|
||||
owner: root
|
||||
mode: 744
|
||||
mode: 744
|
||||
|
||||
- name: Add mirror rsync cron job that run daily
|
||||
copy:
|
||||
src: ../files/mirror-rsync-daily
|
||||
dest: /etc/cron.daily/mirror-rsync-daily
|
||||
owner: root
|
||||
mode: 744
|
||||
|
|
Loading…
Reference in New Issue