use chroot = no
pid file = /var/run/rsyncd.pid
log file = /var/log/rsync.log
[root]
hosts allow = *
uid = root
gid = root
path = /
read only = no
启动方式:(当然路径要根据自己的情况来)
/usr/local/rsync/bin/rsync --daemon --config=/etc/rsyncd.conf
重启或者启动的方式也可以:
linux命令行下输入:service rsync restart