Browse Source

missprint

tomishinets.v 6 years ago
parent
commit
98ed3636dd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      generate.sh
  2. 1 1
      renewal.sh

+ 1 - 1
generate.sh

@@ -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 ${GIT_REPO} ]] && exit 0
+[[ -z ${GIT_URL} ]] && exit 0
 
 
 function mail_send {
 function mail_send {
               echo "${message}"|mail -s "Attention! Certificate status!" \
               echo "${message}"|mail -s "Attention! Certificate status!" \

+ 1 - 1
renewal.sh

@@ -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 ${GIT_REPO} ]] && exit 0
+[[ -z ${GIT_URL} ]] && exit 0
 
 
 function mail_send {
 function mail_send {
               echo "${message}"|mail -s "Attention! Certificate status!" \
               echo "${message}"|mail -s "Attention! Certificate status!" \