This commit is contained in:
19
File/Conf/rsyncd.conf
Normal file
19
File/Conf/rsyncd.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
uid = root
|
||||
gid = root
|
||||
port = 873
|
||||
use chroot = no
|
||||
max connections = 36000
|
||||
log file=/var/log/rsyncd.log
|
||||
pid file = /var/run/rsyncd.pid
|
||||
lock file=/var/run/rsyncd.lock
|
||||
timeout = 600
|
||||
|
||||
[data]
|
||||
comment = none # 各节点看自己情况修改描述
|
||||
path = /data
|
||||
read only = no
|
||||
ignore errors = yes
|
||||
auth users = rsync
|
||||
secrets file = /etc/rsync_salve.pass
|
||||
hosts allow = none # 直接写IP地址 192.168.1.10 或者网段 192.168.1.10/24
|
||||
hosts deny = *
|
Reference in New Issue
Block a user