Skip to content

Instantly share code, notes, and snippets.

@kenshinx
Created July 31, 2013 04:25
Show Gist options
  • Save kenshinx/6119252 to your computer and use it in GitHub Desktop.
Save kenshinx/6119252 to your computer and use it in GitHub Desktop.
rsync 配置文件
pid file = /var/run/rsyncd.pid
port = 873
address = 0.0.0.0
uid = root
gid = root
use chroot = no
read only = no
hosts allow = 10.210.231.55 10.217.15.0/255.255.255.0
hosts deny = *
max connections = 20
motd file = /etc/rsyncd/rsyncd.motd
log file = /var/log/rsync.log
transfer logging = yes
log format = %t %a %m %f %b
syslog facility = local3
timeout = 300
[khome]
path = /usr/home/kenshin
list=yes
auth users = kenshin
secrets file = /etc/rsyncd/rsyncd.secrets
comment = kenshin'home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment