最新消息:

rsyncd配置文件模板

Linux ipcpu 752浏览

/etc/rsyncd.conf文件模板

通用

log file = /var/log/rsyncd.log
uid=root
gid=root
##port = 873
#limit access to private LANs 
hosts allow=192.168.2.0/255.255.255.0 10.0.0.0/255.0.0.0
hosts deny=*
max connections = 30
timeout = 180

[htdocs]
path = /home/htdocs
##uid=root
##gid=root
##hosts allow = 10.11.17.75
##hosts deny=*
##auth users = linuxsir
##secrets file = /etc/rsyncd/rsyncd.secrets
read only = true
##write only = yes

简单

log file = /var/log/rsyncd.log
uid=root
gid=root
max connections = 30
timeout = 180


[htdocs]
path = /home/download
read only = true

转载请注明:IPCPU-网络之路 » rsyncd配置文件模板