question about using rsync with inetd

Kick Claus
Mon, 13 Sep 2004 11:43:13 -0000

Hello Wayne,

thank you for your help, you were correct. I guess the issue was basically
me not understanding how inetd works.

Again thank you,

Claus

> -----Original Message-----
> From: Wayne Davison [mailto:wayned@samba.org]
> Sent: Freitag, 10. September 2004 21:45
> To: Kick Claus
> Cc: 'rsync@lists.samba.org'
> Subject: Re: question about using rsync with inetd
>
>
> 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..
>