--no-detach option?

tim.conway at philips.com tim.conway at philips.com
Thu Nov 22 01:46:29 EST 2001


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
tim.conway at philips.com
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 <dwd at bell-labs.com>
Sent by: rsync-admin at lists.samba.org
11/21/2001 07:15 AM

 
        To:     rsync at lists.samba.org
        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" <josb at cncdsl.com>
> To: <rsync at lists.samba.org>
> 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








More information about the rsync mailing list