Re: [PATCH] BUG/MINOR: when master-worker is in daemon mode, detach from tty

2017-12-02 Thread Willy Tarreau
On Sat, Dec 02, 2017 at 01:53:14PM +0100, William Lallemand wrote: > I made a few comments inside the patch. thanks for the review, I've applied it according to your comments. Willy

Re: [PATCH] BUG/MINOR: when master-worker is in daemon mode, detach from tty

2017-12-02 Thread William Lallemand
inside the patch. > Anyhow when you have time to look into it, i look forward to your > feedback :) . Thanks in advance. > > Regards, > PiBa-NL / Pieter > From c103dbd7837d49721ccadfb1aee9520e821a020f Mon Sep 17 00:00:00 2001 > From: PiBa-NL <pba_...@yahoo.com> > Da

Re: [PATCH] BUG/MINOR: when master-worker is in daemon mode, detach from tty

2017-11-29 Thread PiBa-NL
at all.. Anyhow when you have time to look into it, i look forward to your feedback :) . Thanks in advance. Regards, PiBa-NL / Pieter From c103dbd7837d49721ccadfb1aee9520e821a020f Mon Sep 17 00:00:00 2001 From: PiBa-NL <pba_...@yahoo.com> Date: Tue, 28 Nov 2017 23:26:08 +0100 Subject:

Re: [PATCH] BUG/MINOR: when master-worker is in daemon mode, detach from tty

2017-11-28 Thread William Lallemand
On Wed, Nov 29, 2017 at 12:05:43AM +0100, PiBa-NL wrote: > Hi List, > Hi Pieter, > Made a patch that makes the master-worker detach from tty when it is > also combined with daemon mode to allow a script to start haproxy with > daemon mode, closing stdout so the calling process knows when to

[PATCH] BUG/MINOR: when master-worker is in daemon mode, detach from tty

2017-11-28 Thread PiBa-NL
com> Date: Tue, 28 Nov 2017 23:26:08 +0100 Subject: [PATCH] [PATCH] BUG/MINOR: when master-worker is in daemon mode, detach from tty This allows a calling script to show the first startup output and know when to stop reading from stdout so haproxy can daemonize. --- src/haproxy.c | 7 +++