19 lines
439 B
Plaintext
19 lines
439 B
Plaintext
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 = * |