diff --git a/scripts/setup_systemd.sh b/scripts/setup_systemd.sh index 59e5778..edeef70 100755 --- a/scripts/setup_systemd.sh +++ b/scripts/setup_systemd.sh @@ -49,6 +49,18 @@ done cd "$PROJECT_ROOT" +# Debug: print current directory and check if cmd/gateway exists +echo "DEBUG: Current directory: $(pwd)" +echo "DEBUG: Contents of current directory:" +ls -la | head -10 +if [ -d "cmd/gateway" ]; then + echo "DEBUG: cmd/gateway directory exists" +else + echo "DEBUG: cmd/gateway directory does NOT exist" + echo "DEBUG: Looking for cmd directory:" + find . -name "cmd" -type d 2>/dev/null | head -5 +fi + # Install dependencies echo "📦 Installing system dependencies..." apt-get update