haproxy-letsencrypt-acme.sh: Fix the logging commands.
This commit is contained in:
parent
70b1b52976
commit
907ef0dc0e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue