From 3d59a1eea189a47ade94cafc79f8a6480a0d8eb9 Mon Sep 17 00:00:00 2001 From: status404 Date: Wed, 1 Jul 2026 16:32:47 +0300 Subject: [PATCH] fix --- docker/scripts/3-update-haproxy-cert.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/scripts/3-update-haproxy-cert.sh b/docker/scripts/3-update-haproxy-cert.sh index 74fe3a6..e40024e 100644 --- a/docker/scripts/3-update-haproxy-cert.sh +++ b/docker/scripts/3-update-haproxy-cert.sh @@ -1,7 +1,8 @@ #!/bin/sh # Start transaction -echo -e "set ssl cert /usr/local/etc/haproxy/certificates/site.pem <<\n$(cat /etc/certificates/site.pem)\n" | socat tcp-connect:haproxy:9999 - +echo -e "set ssl cert /usr/local/etc/haproxy/certificates/site.pem <<\n$(cat /etc/certificates/site.pem)\n" \ + | socat - tcp-connect:haproxy:9999,retry=30,interval=2,connect-timeout=5 # Commit transaction echo "commit ssl cert /usr/local/etc/haproxy/certificates/site.pem" | socat tcp-connect:haproxy:9999 -