Use haproxy-systemd-wrapper as pid1 in containerized Haproxy
authorDamien Ciabrini <dciabrin@redhat.com>
Fri, 15 Sep 2017 11:00:12 +0000 (13:00 +0200)
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>
Wed, 20 Sep 2017 14:29:25 +0000 (14:29 +0000)
commit8a661310d72fe5d6eb72ddd7a957a5b942c8993b
tree950a8bf724cda5159e12b04e636a2c4ca5eb9bec
parent5a7472c1696d9f173a1fd4387e349cda2eb44ff8
Use haproxy-systemd-wrapper as pid1 in containerized Haproxy

This wrapper binary spawns the HAproxy daemon and implements a
coordinated HAproxy restart on SIGHUP.

From a service's perspective, this allows reloading the HAProxy
configuration with minimal service disruption, i.e. without stopping
and restarting the HAProxy container.

Closes-Bug: #1717521

Change-Id: Ib3ef0c0bcf1a8151e179ff4d7509cf0d6b3ac5a1
(cherry picked from commit 91cd44cd7266c15ce07fafbee9d2e33f226096ba)
docker/services/haproxy.yaml
docker/services/pacemaker/haproxy.yaml