Browse Source

Добавил переменную SUBDIR

tomishinets.v 5 years ago
parent
commit
c533e2dd67
2 changed files with 2 additions and 2 deletions
  1. 1 1
      generate.sh
  2. 1 1
      renewal.sh

+ 1 - 1
generate.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-git_dir="pki"
+git_dir="pki/${CERT_SUBDIR}"
 branch="100883"
 log_file="/var/log/letsencrypt/letsencrypt.log"
 #git_url="git.sdsys.ru/sdsys/pki.git"

+ 1 - 1
renewal.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-git_dir="pki"
+git_dir="pki/${CERT_SUBDIR}"
 branch="100883"
 log_file="/var/log/letsencrypt/letsencrypt.log"
 #git_url="git.sdsys.ru/sdsys/pki.git"