# /etc/rsyncd.conf
# Minimal configuration file for rsync daemon
# See rsync(1) and rsyncd.conf(5) man pages for help
# This line is required by the /etc/init.d/rsyncd script
#pid file = /var/run/rsyncd.pid
use chroot = no
read only = yes
transfer logging = yes
max verbosity = 2
# Simple example for enabling your own local rsync server
[gentoo-portage]
path = /usr/portage
comment = Gentoo Portage tree
exclude = /distfiles /packages
[snaprep]
path = /tmp/snaprep
read only = yes
[snaprep.push]
path = /tmp/snaprep/new
read only = no
write only = yes
refuse options = inplace
pre-xfer exec = /home/ccx/bzr/snaprep/bin/snap.rsync.pre
post-xfer exec = /home/ccx/bzr/snaprep/bin/snap.rsync.post