unix

How do I configure my /etc/rsyncd.conf on my Linux server?

Configuring your rsyncd.conf file is pretty straight forward. Here’s an example of 2 different modules. One is read-only and the other is not.

[media]
path = /var/www/media
comment = media
uid = rsync
gid = nobody
read only = no
list = no
hosts allow = media.mysite.com

[media-read]
path = /var/www/media
comment = media-read
uid = rsync
gid = nobody
read only = yes
list = no
hosts allow = mediaread.mysite.com

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top