|
@@ -5,6 +5,8 @@ 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 ${GIT_REPO} ]] && exit 0
|
|
|
|
+
|
|
function mail_send {
|
|
function mail_send {
|
|
echo "${message}"|mail -s "Attention! Certificate status!" \
|
|
echo "${message}"|mail -s "Attention! Certificate status!" \
|
|
-S smtp=${SMTP_SERVER} \
|
|
-S smtp=${SMTP_SERVER} \
|