Update deploy/haproxy.sh

Co-authored-by: Matt Simerson <matt@tnpi.net>
This commit is contained in:
Laurent Grawet 2025-04-28 17:02:25 +02:00 committed by GitHub
parent a6e689f9be
commit 6e2e7a223f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -327,7 +327,7 @@ haproxy_deploy() {
# Update certificate over HAProxy stats socket or master CLI.
if _exists socat; then
export IFS=','
IFS=','
for _statssock in ${Le_Deploy_haproxy_stats_socket}; do
# look for the certificate on the stats socket, to choose between updating or creating one
_socat_cert_cmd="echo '${_cmdpfx}show ssl cert' | socat '${_statssock}' - | grep -q '^${_pem}$'"