rsync on multiple ports?
matt at mattmccutchen.net
Fri Jan 25 21:09:11 GMT 2008
On Fri, 2008-01-25 at 12:26 -0800, Robert Denton wrote:
> I need my rsync to listen on port 8090 as well as on the standard
> rsync port. Is this possible, and if so, how does one do this?
A single background daemon can listen on only one port. Just start two
separate daemons with configuration files that are identical except for
the "port" and "pid file" settings. A "max connections" limit will
cover the total of the two daemons provided that both use the same "lock
file". Alternatively, if you use xinetd, you can configure two xinetd
services (one for each port) that both point to the same daemon; this
way you need only one daemon configuration file.
More information about the rsync