rsync

 

uid = webapp

gid = webapp

use chroot = no

max connections = 4

pid file = /var/run/rsyncd.pid

lock file = /var/run/rsync.lock

log file = /var/log/rsyncd.log

 

[webapp]

path = /home/webapp/www

ignore errors

read only = true

list = false

hosts allow = 192.168.1.251

hosts deny = 0.0.0.0/32

auth users = webapp

uid = webapp

gid = webapp

auth users = webapp

secrets file = /home/webapp/pas/webapp.pas(webapp:chechi)



--------------------------------------------
uid = nobody
gid = nobody

use chroot = no
read only = yes

max connections = 10
timeout = 200
pid file = /var/run/rsync/rsyncd.pid
lock file = /var/run/rsync/rsync.lock
log file = /var/log/rsyncd.log
hosts allow = 192.168.1.251 192.168.1.252 192.168.1.253
hosts deny = ""

secrets file = /home/rsync/pas/websites.pas
auth users = websites

list = yes

[txtheme]
path = /home/websites/tiexinnet/mall/themes/mall/

你可能感兴趣的:(rsync)