rsyncd.conf (711B)
1 # /etc/rsyncd.conf 2 3 # Minimal configuration file for rsync daemon 4 # See rsync(1) and rsyncd.conf(5) man pages for help 5 6 # This line is required by the /etc/init.d/rsyncd script 7 #pid file = /var/run/rsyncd.pid 8 use chroot = no 9 read only = yes 10 transfer logging = yes 11 max verbosity = 2 12 13 # Simple example for enabling your own local rsync server 14 [gentoo-portage] 15 path = /usr/portage 16 comment = Gentoo Portage tree 17 exclude = /distfiles /packages 18 19 [snaprep] 20 path = /tmp/snaprep 21 read only = yes 22 23 [snaprep.push] 24 path = /tmp/snaprep/new 25 read only = no 26 write only = yes 27 refuse options = inplace 28 pre-xfer exec = /home/ccx/bzr/snaprep/bin/snap.rsync.pre 29 post-xfer exec = /home/ccx/bzr/snaprep/bin/snap.rsync.post