浏览代码

missprint

Владимир Томишинец 5 年之前
父节点
当前提交
4477eee164
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      renewal.sh

+ 1 - 1
renewal.sh

@@ -52,7 +52,7 @@ echo "Delete /${git_dir}"
 echo "Git clone ${GIT_URL}"
 cd / && git clone https://${GIT_USER}:$(cat /run/secrets/provision-pass)@${GIT_URL} && cd /${git_dir} && git checkout ${branch}
 
-certbot renew --dry-run --config-dir /${git_dir}/letsencrypt
+certbot renew --dry-run --config-dir /${git_dir}/${CERT_SUBDIR}/letsencrypt
 if [ $? -ne 0 ];then message="letsencrypt. Can't execute "dry-run" renew procces. Renew certs and keys will be skipped!!!"; mail_send; exit 1;fi
 clear_log