Hi,

The following patches improve the systemd wrapper in a couple of ways:

 - The systemd wrapper itself is now re-executed on SIGUSR2, allowing a new
   version of both HAProxy and the wrapper to be gracefully loaded.
 - We use standard error for message logging, which seems to get more reliably
   to systemd's journal than stdout.
 - We also use systemd's support for prefixing messages with the log level to
   differentiate between message severity.
 - Finally, we propagate the exit status of HAProxy to systemd, instead of
   always returning success.

Regards,
Apollon

Apollon Oikonomopoulos (3):
  MINOR: systemd wrapper: re-execute on SIGUSR2
  MINOR: systemd wrapper: improve logging
  MINOR: systemd wrapper: propagate exit status

 src/haproxy-systemd-wrapper.c | 69 ++++++++++++++++++++++++++++++-------------
 1 file changed, 49 insertions(+), 20 deletions(-)

-- 
1.9.1


Reply via email to