rsync - LCFG rsync server daemon component
This component configures and starts the rsync server daemon. Changes to LCFG resources will automatically result in changes to the rsync server's configuration.
A list of tags, one for each gentry resource.
An rsync global configuration option. For more details of rsync's possible global configuration options see the man page for rsyncd.conf. tag should be listed in the globals resource.
A tag list of the rsync modules to be set up; one tag for each rsync module.
For rsync module module, a tag list of the configuration options for that module. module should be listed in the modules resource.
A configuration option for rsync module module. tag should be listed in resource mentries_module. For details of rsync's possible global configuration options see the man page for rsyncd.conf.
For rsync module module, a name for the module. If not defined then the module tag will be used as the module name. module should be listed in the modules resource.
Resources like these:
rsync.globals log
rsync.gentry_log log file = /var/obj/log/rsync
rsync.modules glasgow dundee
rsync.mentries_glasgow 1 2 3 4 5
rsync.mentry_glasgow_1 path=/disk/home/glasgow
rsync.mentry_glasgow_2 hosts allow=foo.inf.ed.ac.uk bar.inf.ed.ac.uk
rsync.mentry_glasgow_3 hosts deny=*
rsync.mentry_glasgow_4 uid=0
rsync.mentry_glasgow_5 read only=yes
rsync.mentries_dundee 1 2
rsync.mentry_glasgow_1 path=/disk/home/dundee
rsync.mentry_glasgow_2 hosts allow=*
rsync.modulename_dundee discovery
... would make an rsyncd.conf file like this:
# Global variables
log file = /var/lcfg/log/rsync
# Individual rsync modules
[glasgow]
path=/disk/home/glasgow
hosts allow=foo.inf.ed.ac.uk bar.inf.ed.ac.uk
hosts deny=*
uid=0
read only=yes
[discovery]
path=/disk/home/dundee
hosts allow=*