Files
GNX-WEB/restart-services.sh
Iliyan Angelov 82024016cd updates
2025-11-25 02:06:38 +02:00

17 lines
387 B
Bash
Executable File

#!/bin/bash
# GNX-WEB Service Restart Script
# Colors for output
GREEN='\033[0;32m'
NC='\033[0m' # No Color
echo -e "${GREEN}Restarting GNX-WEB services...${NC}"
# Restart PM2 services
pm2 restart gnxsoft-backend 2>/dev/null || echo "Backend service not found"
pm2 restart gnxsoft-frontend 2>/dev/null || echo "Frontend service not found"
echo -e "${GREEN}Services restarted${NC}"