Configuring rsync
Config files
/etc/rsyncd.conf
Configuration Information
This is a simple download-only configuration. See the rsyncd man-page for
additional options (i.e., user authentication).
cat > /etc/rsyncd.conf << "EOF"
# This is a basic rsync configuration file
# It exports a single module without user authentication.
motd file = /home/rsync/welcome.msg
use chroot = yes
[localhost]
path = /home/rsync
comment = Default rsync module
read only = yes
list = yes
uid = rsyncd
gid = rsyncd
EOF
rsyncd init.d script
Note that you only want to start the rsync
server if you want to provide a rsync archive on
your machine. The rsync client doesn't need this
script to be used.
Install the /etc/rc.d/init.d/rsyncd
init script included in the package.
make install-rsyncd