Re: [PATCH 2/3] MEDIUM: add haproxy-systemd-wrapper

2013-02-09 Thread Willy Tarreau
On Fri, Feb 08, 2013 at 03:58:47PM +0100, Marc-Antoine Perennou wrote: +static void usage(const char *progname) +{ + fprintf(stderr, Usage: %s [-f cfgfile] [-p pidfile]\n, progname); Here I think it would be worth supporting most of the other command line arguments. For instance, -L is

Re: [PATCH 2/3] MEDIUM: add haproxy-systemd-wrapper

2013-02-09 Thread Marc-Antoine Perennou
I'll do even simpler, when submitting V2 of this patchset with the EINTR issue, I'll basically forard every arg given to the wrapper to all the children themselves. The tool is not really meant to be used by the user himself though, but rather to be launched by the systemd service. Is SIGUSR2 ok

Re: [PATCH 2/3] MEDIUM: add haproxy-systemd-wrapper

2013-02-09 Thread Willy Tarreau
On Sat, Feb 09, 2013 at 10:47:23AM +0100, Marc-Antoine Perennou wrote: I'll do even simpler, when submitting V2 of this patchset with the EINTR issue, I'll basically forard every arg given to the wrapper to all the children themselves. The tool is not really meant to be used by the user

[PATCH 2/3] MEDIUM: add haproxy-systemd-wrapper

2013-02-08 Thread Marc-Antoine Perennou
Signed-off-by: Marc-Antoine Perennou marc-anto...@perennou.com --- .gitignore| 1 + Makefile | 16 +- src/haproxy-systemd-wrapper.c | 122 ++ 3 files changed, 137 insertions(+), 2 deletions(-) create mode