haproxy-letsencrypt-acme.sh: Fix the logging commands.

This commit is contained in:
Andrea Dell'Amico 2017-10-27 13:06:49 +02:00
parent 70b1b52976
commit 907ef0dc0e
1 changed files with 3 additions and 1 deletions

View File

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