# /etc/rsyncd: configuration file for rsync daemon mode
# See rsyncd.conf man page for more options.
# rsyncd全局参数。
uid = root
gid = root
port = 873
fake super = yes
use chroot = no
max connections = 200
timeout = 600
ignore errors
read only = false
list = false
#auth users = client1
#secrets file = /etc/rsyncd.passwd
log file = /var/log/rsyncd.log
# 同步模块配置。
[docs]
comment = welcome to docs!
path = /data/www/helloRsync
read only=no
#auth users = client1
#secrets file = /etc/rsyncd.passwd
hosts allow=*
#案例:
#rsync -auv root@127.0.0.1::docs /data/www/helloRsync/test/
#rsync -auv /data/www/helloRsync/test/* root@127.0.0.1::docs
rsyncd.conf 配置文件
最新推荐文章于 2023-08-24 11:57:24 发布