question about using rsync with inetd
Wayne Davison
wayned at samba.org
Fri Sep 10 19:44:51 GMT 2004
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..
More information about the rsync
mailing list