From 907ef0dc0e930a26d6bd2afa804ca1fcb60bf128 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 27 Oct 2017 13:06:49 +0200 Subject: [PATCH] haproxy-letsencrypt-acme.sh: Fix the logging commands. --- haproxy/templates/haproxy-letsencrypt-acme.sh.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 b/haproxy/templates/haproxy-letsencrypt-acme.sh.j2 index 7628d4c..33efcf0 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