Selaa lähdekoodia

Fixed and implemented the path of hooks in letsencrypt

Jean Sumara 5 vuotta sitten
vanhempi
commit
68d7c2ea76
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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