updates
This commit is contained in:
16
restart-services.sh
Executable file
16
restart-services.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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}"
|
||||
|
||||
Reference in New Issue
Block a user