Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
2728d2aa
Commit
2728d2aa
authored
Mar 18, 2024
by
neil
Browse files
fix format
parent
0588fc6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/haproxy.sh
View file @
2728d2aa
...
@@ -373,7 +373,7 @@ haproxy_deploy() {
...
@@ -373,7 +373,7 @@ haproxy_deploy() {
return
${
_ret
}
return
${
_ret
}
fi
fi
if
[
"
${
_newcert
}
"
=
"1"
]
;
then
if
[
"
${
_newcert
}
"
=
"1"
]
;
then
# if this is a new certificate, it needs to be inserted into the crt-list`
# if this is a new certificate, it needs to be inserted into the crt-list`
_socat_cert_add_cmd
=
"echo '
${
_cmdpfx
}
add ssl crt-list
${
Le_Deploy_haproxy_pem_path
}
${
_pem
}
' | socat '
${
_statssock
}
' - | grep -q 'Success!'"
_socat_cert_add_cmd
=
"echo '
${
_cmdpfx
}
add ssl crt-list
${
Le_Deploy_haproxy_pem_path
}
${
_pem
}
' | socat '
${
_statssock
}
' - | grep -q 'Success!'"
_debug _socat_cert_add_cmd
"
${
_socat_cert_add_cmd
}
"
_debug _socat_cert_add_cmd
"
${
_socat_cert_add_cmd
}
"
eval
"
${
_socat_cert_add_cmd
}
"
eval
"
${
_socat_cert_add_cmd
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment