question about using rsync with inetd

Wayne Davison
Fri, 10 Sep 2004 19:45:18 -0000

On Fri, Sep 10, 2004 at 12:05:37PM +0200, Kick Claus
wrote:
> rsync stream tcp nowait publish /usr/bin/rsync rsyncd --daemon --port 1234
.

As indicated in the rsyncd.conf man page, the command should be this:

rsync   stream  tcp     nowait  publish   /usr/bin/rsync rsyncd --daemon

(I changed "root" to "publish" to match your command.)

You don't specify a --port option because inetd is handling the
connection.  Rsync should notice that stdin is a socket and behave
appropriately.

..wayne..