diff --git a/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 b/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 index 7628d4c2..33efcf03 100644 --- a/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 +++ b/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 @@ -32,8 +32,10 @@ fi # Run the OCSP stapling script if [ -x /usr/local/bin/hapos-upd ] ; then - echo "Run the OCSP stapling script" >> $LE_LOG_DIR/haproxy.log + echo "Run the OCSP stapling updater script" >> $LE_LOG_DIR/haproxy.log /usr/local/bin/hapos-upd --cert {{ haproxy_cert_dir }}/haproxy.pem -v {{ letsencrypt_acme_certs_dir }}/fullchain -s {{ haproxy_admin_socket }} >> $LE_LOG_DIR/haproxy.log 2>&1 +else + echo "No OCPS stapling updater script" >> $LE_LOG_DIR/haproxy.log fi echo "Done." >> $LE_LOG_DIR/haproxy.log