Excuse me, I meant to say if stdin in IS a socket. - Dave Dykstra
On Wed, Nov 21, 2001 at 07:46:29AM -0700, [EMAIL PROTECTED] wrote: > Not in daemon mode. > ++++++++++++++++++++++++++++++++++++++++++++++++= > # ps -ef |grep rsync > # rsync --daemon > # ps -ef |grep rsync > root 23716 1 0 07:42:58 ? 0:00 rsync --daemon > # rsync localhost:: > tconway > # > ++++++++++++++++++++++++++++++++++++++++++++++++ > Like most daemons, it forks by default. I've wanted this feature for some > time, for debugging, but instead, just started it with truss, with the > fork option. > > Tim Conway > [EMAIL PROTECTED] > 303.682.4917 > Philips Semiconductor - Longmont TC > 1880 Industrial Circle, Suite D > Longmont, CO 80501 > Available via SameTime Connect within Philips, n9hmg on AIM > perl -e 'print pack(nnnnnnnnnnnn, > 19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), > ".\n" ' > "There are some who call me.... Tim?" > > > > > Dave Dykstra <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 11/21/2001 07:15 AM > > > To: [EMAIL PROTECTED] > cc: (bcc: Tim Conway/LMT/SC/PHILIPS) > Subject: Re: --no-detach option? > Classification: > > > > 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