Change systemd service file to wait for network to be completely
online. This solves two problems:

If haproxy is configured to bind to IP address(es) that are not yet
assigned, haproxy would previously fail. The workaround is to use
"option transparent".

If haproxy us configured to use a resolver to resolve servers via DNS,
haproxy would previously fail due to the fact that the network is not
fully online yet. This is the most compelling reason for this patch.

Signed-off-by: Ryan O'Hara <>
 contrib/systemd/ | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/systemd/ 
index 9b7c3d1bb..05fc59579 100644
--- a/contrib/systemd/
+++ b/contrib/systemd/
@@ -1,6 +1,7 @@
 Description=HAProxy Load Balancer

Reply via email to