update issues of freeze

This commit is contained in:
2026-01-04 14:54:35 +01:00
parent bb80a65346
commit 2c43e719e3
7 changed files with 161 additions and 6 deletions

24
restart_services.sh Normal file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
# TestArena Service Restart Script
# This script restarts all components of the TestArena system.
# Usage: sudo ./restart_services.sh
if [ "$EUID" -ne 0 ]; then
echo "❌ Please run as root (use sudo ./restart_services.sh)"
exit 1
fi
echo "🔄 Restarting TestArena Services..."
echo "🌐 Restarting Nginx..."
systemctl restart nginx
echo "📱 Restarting TestArena App..."
systemctl restart testarena-app
echo "⚙️ Restarting TestArena Worker..."
systemctl restart testarena-worker
echo "✅ All services restarted!"
systemctl status testarena-app testarena-worker nginx --no-pager