diff --git a/setup.sh b/setup.sh index dc0c6ec..ba7dd94 100755 --- a/setup.sh +++ b/setup.sh @@ -8,6 +8,7 @@ elif command -v docker &> /dev/null; then echo "Docker command exists" else echo "Container command (Docker/Podman) could not be found!" + exit 1 fi if [ -d "nginx" ]; then @@ -15,6 +16,9 @@ if [ -d "nginx" ]; then echo "Attempting to start nginx container ..." $PROG compose -f docker-compose.yml up -d cd .. +else + echo "Nginx folder does not exist. You must have an Nginx Proxy Manager instance to continue." + exit 1 fi # Check if folder exists