On Wed, Nov 21, 2001 at 12:23:29PM -0000, Max Bowsher wrote: > I did the same, for cygwin, but I called the > option --debug-daemon. --no-detach is probably a better name. Heres my > patch. > ----- Original Message ----- > From: "Jos Backus" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 20, 2001 11:05 PM > Subject: --no-detach option? > > > How about adding a --no-detach option (to be used in combination with > --daemon) to rsync so it can be run under Dan Bernstein's daemontools' > supervise? If there's interest I'll provide a patch.
Rsync will already not detach if stdin is not a socket. Is that sufficient? - Dave Dykstra