mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-29 21:32:44 +00:00
Update deploy/haproxy.sh
Co-authored-by: Matt Simerson <matt@tnpi.net>
This commit is contained in:
parent
a6e689f9be
commit
6e2e7a223f
@ -327,7 +327,7 @@ haproxy_deploy() {
|
|||||||
|
|
||||||
# Update certificate over HAProxy stats socket or master CLI.
|
# Update certificate over HAProxy stats socket or master CLI.
|
||||||
if _exists socat; then
|
if _exists socat; then
|
||||||
export IFS=','
|
IFS=','
|
||||||
for _statssock in ${Le_Deploy_haproxy_stats_socket}; do
|
for _statssock in ${Le_Deploy_haproxy_stats_socket}; do
|
||||||
# look for the certificate on the stats socket, to choose between updating or creating one
|
# 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}$'"
|
_socat_cert_cmd="echo '${_cmdpfx}show ssl cert' | socat '${_statssock}' - | grep -q '^${_pem}$'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user