--no-detach option?

Martin Pool mbp at samba.org
Mon Nov 26 19:37:33 EST 2001

On 23 Nov 2001, Andre Pang <ozone at algorithm.com.au> wrote:
> On Tue, Nov 20, 2001 at 03:05:32PM -0800, Jos Backus wrote:
> > How about adding a --no-detach option (to be used in combination with
> > supervise? If there's interest I'll provide a patch.

Yes, this is great.  I wanted it today when trying to debug IPv6.
(Incidentally that now seems to work on Linux and at least compile on
other interesting platforms; comments welcome.)

I'll apply something like Jos's patch, with a modification to not
create another bloody global variable but instead stick it in an
options struct.

People who work with Apache should try the mostly-undocumented -X
option, which tells it to not detach and also not fork on incoming
connections.  For debugging that's even more useful.


More information about the rsync mailing list