Re: [PATCH 1/3] MEDIUM: New cli option -Ds for systemd compatibility

2013-02-09 Thread Willy Tarreau
On Fri, Feb 08, 2013 at 03:58:46PM +0100, Marc-Antoine Perennou wrote: @@ -1493,8 +1499,13 @@ int main(int argc, char **argv) px = px-next; } - if (proc == global.nbproc) + if (proc == global.nbproc) { + if

Re: [PATCH 1/3] MEDIUM: New cli option -Ds for systemd compatibility

2013-02-09 Thread Marc-Antoine Perennou
On 9 February 2013 09:45, Willy Tarreau w...@1wt.eu wrote: On Fri, Feb 08, 2013 at 03:58:46PM +0100, Marc-Antoine Perennou wrote: @@ -1493,8 +1499,13 @@ int main(int argc, char **argv) px = px-next; } - if (proc == global.nbproc) +

Re: [PATCH 1/3] MEDIUM: New cli option -Ds for systemd compatibility

2013-02-09 Thread Willy Tarreau
Hi, On Sat, Feb 09, 2013 at 10:44:04AM +0100, Marc-Antoine Perennou wrote: I just made a simple test, running a webserver serving a big file locally, using haproxy, my wrapper and systemd service. I started a download and during this download, reloaded haproxy. I using nbproc = 2. What

Re: [PATCH 1/3] MEDIUM: New cli option -Ds for systemd compatibility

2013-02-09 Thread Marc-Antoine Perennou
On 9 February 2013 11:06, Willy Tarreau w...@1wt.eu wrote: Hi, On Sat, Feb 09, 2013 at 10:44:04AM +0100, Marc-Antoine Perennou wrote: I just made a simple test, running a webserver serving a big file locally, using haproxy, my wrapper and systemd service. I started a download and during

Re: [PATCH 1/3] MEDIUM: New cli option -Ds for systemd compatibility

2013-02-09 Thread Willy Tarreau
On Sat, Feb 09, 2013 at 11:45:57AM +0100, Marc-Antoine Perennou wrote: Maybe this can help you understand why it works: Before the download: haproxy 6090 root4u IPv4 53819 0t0 TCP *:http (LISTEN) haproxy 6092 root4u IPv4 53819 0t0

[PATCH 1/3] MEDIUM: New cli option -Ds for systemd compatibility

2013-02-08 Thread Marc-Antoine Perennou
Signed-off-by: Marc-Antoine Perennou marc-anto...@perennou.com --- doc/haproxy-en.txt | 1 + doc/haproxy-fr.txt | 1 + doc/haproxy.1 | 4 include/types/global.h | 1 + src/haproxy.c | 35 +++ 5 files changed, 30 insertions(+), 12