use chroot = no
max connections = 200
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsyncd.lock
log file = /var/log/rsyncd.log
hosts allow = 172.31.8.159
[test]
uid = root
gid = root
path = /data/sync/test/
read only = false
list = no
//如果要设置密码:
auth users = 设置要验证的用户
secrets file = 保存有密码的文件路径,此路径一定要在只有root能访问的路径下,其他用户都不能读
对于再次发送时指明的路径都是在 path 路径下