|
@@ -5,7 +5,7 @@ branch="100883"
|
|
log_file="/var/log/letsencrypt/letsencrypt.log"
|
|
log_file="/var/log/letsencrypt/letsencrypt.log"
|
|
#git_url="git.sdsys.ru/sdsys/pki.git"
|
|
#git_url="git.sdsys.ru/sdsys/pki.git"
|
|
|
|
|
|
-[[ -z ${CERT_SUBDIR} ]] && exit 1
|
|
|
|
|
|
+if [[ -z ${CERT_SUBDIR} ]];then echo "variable CERT_SUBDIR doesn't set"; exit 1;fi
|
|
|
|
|
|
function mail_send {
|
|
function mail_send {
|
|
echo "${message}"|mail -s "Attention! Certificate status!" \
|
|
echo "${message}"|mail -s "Attention! Certificate status!" \
|