This commit is contained in:
Local Server
2025-12-19 20:44:46 -06:00
parent 701f799cde
commit e4b3de4a46
113 changed files with 16673 additions and 2174 deletions

30
scripts/check-service.sh Executable file
View File

@@ -0,0 +1,30 @@
#!/bin/bash
# Quick service status check
echo "🔍 SkyArtShop Service Status"
echo "=============================="
echo ""
# Check if service is active
if sudo systemctl is-active --quiet skyartshop; then
echo "✅ Service is RUNNING"
else
echo "❌ Service is STOPPED"
fi
echo ""
echo "📊 Detailed Status:"
sudo systemctl status skyartshop --no-pager -l
echo ""
echo "🌐 Testing localhost:5000..."
if curl -s -o /dev/null -w "%{http_code}" http://localhost:5000 | grep -q "200\|301\|302"; then
echo "✅ Website is responding"
else
echo "⚠️ Website not responding"
fi
echo ""
echo "📝 Recent logs (last 10 lines):"
sudo journalctl -u skyartshop -n 10 --no-pager