etc rsyncd conf This line is required by the etc init rsyncd script pi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
==> /etc/rsyncd.conf <==
# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes
# Simple example for enabling your own local rsync server
[gentoo-portage]
path = /usr/portage
comment = Gentoo Portage tree
exclude = /distfiles /packages
[gentoo-binaries]
path = /usr/portage
comment = Gentoo Binaries cache
exclude = /*
include = /distfiles /packages
==> /home/darkk/bin/portage-sync <==
...
env SYNC=rsync://storage/gentoo-portage $emerge_sync
...