updateweb

This commit is contained in:
Local Server
2025-12-14 17:42:13 -06:00
parent 61929a5daf
commit 701f799cde
9 changed files with 436 additions and 1 deletions

30
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