#!/bin/bash

# GNX-WEB Service Stop Script

# Colors for output
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color

echo -e "${GREEN}Stopping GNX-WEB services...${NC}"

# Stop PM2 services
pm2 stop gnxsoft-backend 2>/dev/null || echo -e "${YELLOW}Backend service not running${NC}"
pm2 stop gnxsoft-frontend 2>/dev/null || echo -e "${YELLOW}Frontend service not running${NC}"

echo -e "${GREEN}Services stopped${NC}"

