diff --git a/scripts/issue_cert.sh b/scripts/issue_cert.sh index b0693a4..10ea329 100755 --- a/scripts/issue_cert.sh +++ b/scripts/issue_cert.sh @@ -1,6 +1,6 @@ #!/bin/bash -cd "$(dirname "$0")" -. ../.env +cd "$(dirname "$0")/.." +. .env CERT_DIR=/etc/ssl/$DOMAIN diff --git a/scripts/update_config.sh b/scripts/update_config.sh index 18aec07..7d7b809 100755 --- a/scripts/update_config.sh +++ b/scripts/update_config.sh @@ -1,6 +1,6 @@ #!/bin/bash -cd "$(dirname "$0")" -. ../.env +cd "$(dirname "$0")/.." +. .env if [ "$GLUETUN" = true ]; then export UPSTREAM=gluetun