Change default for reload

This commit is contained in:
andrewheberle 2018-09-28 08:45:18 +08:00 committed by GitHub
parent 8d348954a7
commit 31d9ba7e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,9 @@
# export DEPLOY_HAPROXY_RELOAD="systemctl reload haproxy" # export DEPLOY_HAPROXY_RELOAD="systemctl reload haproxy"
# #
# OPTIONAL: Reload command used post deploy # OPTIONAL: Reload command used post deploy
# This defaults to be a no-op (ie "true").
# It is strongly recommended to set this something that makes sense
# for your distro.
# #
# export DEPLOY_HAPROXY_ISSUER="no" # export DEPLOY_HAPROXY_ISSUER="no"
# #
@ -249,7 +252,7 @@ haproxy_deploy() {
# An OCSP file was already present but certificate did not have OCSP extension # An OCSP file was already present but certificate did not have OCSP extension
if [ -f "${_ocsp}" ]; then if [ -f "${_ocsp}" ]; then
_err "OCSP was not requested but .ocsp file exists." _err "OCSP was not requested but .ocsp file exists."
# Should remove the file at this step, although HAProxy just ignores it in this case # Could remove the file at this step, although HAProxy just ignores it in this case
# rm -f "${_ocsp}" || _err "Problem removing stale .ocsp file" # rm -f "${_ocsp}" || _err "Problem removing stale .ocsp file"
fi fi
fi fi