add rsync configuration
This commit is contained in:
parent
dd3c7f9c4f
commit
7abd579212
24
templates/etc/rsyncd-motd
Normal file
24
templates/etc/rsyncd-motd
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
|
||||||
|
rrrRRRRRrrr _____ _ _ _
|
||||||
|
rrRRRRRRRrRRRRRRr | __ \ | | | | (_)
|
||||||
|
rrRrRrRrRrRrRrRrRrRr\ | |__) |___ ___| | ___ _ | | _ _ __ _ ___ __
|
||||||
|
/RRRrRRRRRRRr/ \RRRrR | _ // _ \ / __| |/ / | | | | | | | '_ \| | | \ \/ /
|
||||||
|
RRrRrRRRrR/ \RrRr | | \ \ (_) | (__| <| |_| | | |____| | | | | |_| |> <
|
||||||
|
RRRRrRRR/ / \r |_| \_\___/ \___|_|\_\__, | |______|_|_| |_|\__,_/_/\_\
|
||||||
|
rRr/ rRRRrr __/ |
|
||||||
|
Y rRRrRRRRRRr |___/
|
||||||
|
rrrRRRRrry
|
||||||
|
(rsync003)
|
||||||
|
*-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-*
|
||||||
|
|
||||||
|
Welcome to the Rocky Linux rsync service @ msync.rockylinux.org
|
||||||
|
|
||||||
|
This service is for the use of mirror partners of the Rocky Enterprise Software
|
||||||
|
Foundation to synchronize distributed software. We recommend end users download from
|
||||||
|
public mirrors listed on this page. https://downloads.rockylinux.org
|
||||||
|
|
||||||
|
We reserve the right to modify access controls and traffic flows as necessary to
|
||||||
|
maintain continuity of service. Contact us: mirrors@rockylinux.org
|
||||||
|
|
||||||
|
*-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-*
|
||||||
|
|
69
templates/etc/rsyncd.conf
Normal file
69
templates/etc/rsyncd.conf
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
uid = nobody
|
||||||
|
gid = mirror
|
||||||
|
use chroot = yes
|
||||||
|
max connections = 20
|
||||||
|
pid file = /var/run/rsyncd.pid
|
||||||
|
exclude = lost+found/
|
||||||
|
transfer logging = yes
|
||||||
|
timeout = 600
|
||||||
|
ignore nonreadable = yes
|
||||||
|
dont compress = *.gz *.tgz *.zip *.z *.Z *.rpm *.deb *.bz2 *.iso
|
||||||
|
reverse lookup = no
|
||||||
|
forward lookup = no
|
||||||
|
motd file = /etc/rsyncd-motd
|
||||||
|
|
||||||
|
[rocky-staging]
|
||||||
|
path = /mnt/repos-staging/mirror/pub/rocky
|
||||||
|
comment = Rocky Linux Staging Repositories
|
||||||
|
read only = true
|
||||||
|
refuse options = checksum
|
||||||
|
list = false
|
||||||
|
|
||||||
|
[rocky-production]
|
||||||
|
path = /mnt/repos-production
|
||||||
|
comment = Rocky Linux Production
|
||||||
|
read only = true
|
||||||
|
refuse options = checksum
|
||||||
|
list = true
|
||||||
|
|
||||||
|
[rocky-linux]
|
||||||
|
path = /mnt/repos-production/mirror/pub/rocky
|
||||||
|
comment = Rocky Linux Production
|
||||||
|
read only = true
|
||||||
|
refuse options = false
|
||||||
|
list = false
|
||||||
|
|
||||||
|
[rocky-sigs]
|
||||||
|
path = /mnt/repos-production/mirror/pub/sigs
|
||||||
|
comment = Rocky Linux Special Interest Groups
|
||||||
|
read only = true
|
||||||
|
refuse options = checksum
|
||||||
|
list = false
|
||||||
|
|
||||||
|
[rocky]
|
||||||
|
path = /mnt/repos-production
|
||||||
|
comment = Rocky Linux - !!Deprecated Module!! - Please use rocky-linux
|
||||||
|
read only = true
|
||||||
|
refuse options = checksum
|
||||||
|
list = true
|
||||||
|
|
||||||
|
[rocky-everything]
|
||||||
|
path = /mnt/repos-production/mirror/
|
||||||
|
comment = All content available on the mirror. Rocky (Prod+Vault), CentOS (Vault)
|
||||||
|
read only = true
|
||||||
|
refuse options = checksum
|
||||||
|
list = true
|
||||||
|
|
||||||
|
[rocky-vault]
|
||||||
|
path = /mnt/repos-production/mirror/vault/rocky
|
||||||
|
comment = Rocky Linux Vault - Archived Releases
|
||||||
|
read only = true
|
||||||
|
refuse options = checksum
|
||||||
|
list = true
|
||||||
|
|
||||||
|
[centos-vault]
|
||||||
|
path = /mnt/repos-production/mirror/vault/centos
|
||||||
|
comment = CentOS 8 Vault
|
||||||
|
read only = true
|
||||||
|
refuse options = checksum
|
||||||
|
list = true
|
Loading…
Reference in New Issue
Block a user