diff --git a/scripts/start.sh b/scripts/start.sh index 93376b582..109cab3d1 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -27,7 +27,7 @@ docker-compose --version docker-compose -f $DOCKER_DIR/docker-compose.yml -f $DOCKER_DIR/docker-compose.$OS.yml down LETS_ENCRYPT_PATH = "${outputDir}/letsencrypt" -if [ -d "LETS_ENCRYPT_PATH" ] +if [ -d "${LETS_ENCRYPT_PATH}" ] then docker run -it --rm --name certbot -p 443:443 -p 80:80 -v $OUTPUT_DIR/letsencrypt:/etc/letsencrypt/ certbot/certbot \ renew --logs-dir /etc/letsencrypt/logs