浏览代码

Merge branch 'feature-path-hooks' into 'master'

Feature path hooks

See merge request interlink-sa/flowdat3/modules/installer!59
Jean Sumara Leopoldo 5 年之前
父节点
当前提交
226fcc9e3e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tools/letsencrypt/flowdat_deploy.sh

+ 2 - 2
tools/letsencrypt/flowdat_deploy.sh

@@ -5,7 +5,7 @@ set -e
 for domain in $RENEWED_DOMAINS; do
   case $domain in
   DOMAIN_NAME_REPLACE)
-    nginx_cert_root=/opt/flowdat/nginx/certs
+    nginx_cert_root=DIRINSTALL/nginx/certs
 
     # Make sure the certificate and private key files are
     # never world readable, even just for an instant while
@@ -20,7 +20,7 @@ for domain in $RENEWED_DOMAINS; do
     chmod 400 "$nginx_cert_root/fullchain.pem" \
             "$nginx_cert_root/privkey.pem"
 
-    cd /opt/flowdat && docker-compose restart nginx
+    cd DIRINSTALL && docker-compose restart nginx
     ;;
   esac
 done