Browse Source

Change default for reload

andrewheberle 6 years ago
parent
commit
31d9ba7e02
1 changed files with 4 additions and 1 deletions
  1. 4 1
      deploy/haproxy.sh

+ 4 - 1
deploy/haproxy.sh

@@ -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