HAProxy Hot Reconfiguration with s6

From: Remko Tronçon <remko_at_el-tramo.be>
Date: Mon, 16 May 2016 21:57:02 +0200


This question has probably been asked before, but I couldn't find anything.

I want to run HAProxy under a system using s6. I want to make HAProxy hot
reload its configuration to have minimal downtime on configuration updates.
The way this is done in HAProxy is by starting a second instance, which
takes over the port and asks the first instance to exit. However, if
haproxy runs under s6, when the first haproxy process goes away, s6 will
automatically restart it I assume? Is there a way around this? How is
HAproxy generally used with s6?

Received on Mon May 16 2016 - 19:57:02 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC