rsync - LCFG rsync 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.
The port on which the daemon should listen, defaults to 873
The name of the rsyncd configuration file, defaults to /var/lcfg/conf/rsync/rsyncd.conf
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.
If the component is being monitored this can be used to control whether a particular rsync module is monitored. By default all modules are monitored, if the module is not visible to the monitoring machine (e.g. for security reasons) you should set this resource to 'no'.
Resources like these:
rsync.globals log
rsync.gentry_log log file = /var/lcfg/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=*
rsyncd.conf(5), rsync(1)
Fedora5, Fedora6, Fedora13, Scientific5, Scientific6
Craig Strachan <cms@inf.ed.ac.uk>