This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixing missing mkdir WEBROOT_PATH

  • Loading branch information...
alexAubin committed Dec 27, 2015
1 parent 3fe1d36 commit 532c70acd930278663515144d3160a3357da7e1c
Showing with 7 additions and 0 deletions.
  1. +7 −0 sources/certificateRenewer.sh
@@ -127,6 +127,13 @@ function renewCertificate()
local DOMAINS=$(echo ${DOMAINS} |awk '{print substr($0, 1, length-1)}')
fi
# Recreate the webroot folder (expected to be in /tmp/)
WEBROOT_PATH=$(cat $CERT_CONF \
| grep webroot_path \
| tr ',' ' ' \
| awk '{print $3}')
mkdir -p ${WEBROOT_PATH}
rm ${LOG_FILE}
touch ${LOG_FILE}
${LEBIN} certonly \

0 comments on commit 532c70a

Please sign in to comment.