chore: clean publish artifacts and add sources
This commit is contained in:
22
quick-restart.sh
Executable file
22
quick-restart.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Quick restart without rebuild (for configuration changes)
|
||||
|
||||
echo "Restarting SkyArtShop services..."
|
||||
|
||||
sudo systemctl restart skyartshop
|
||||
sleep 2
|
||||
|
||||
if systemctl is-active --quiet skyartshop; then
|
||||
echo "✓ Application restarted successfully"
|
||||
|
||||
# Quick test
|
||||
if curl -s -o /dev/null -w "%{http_code}" http://localhost | grep -q "200"; then
|
||||
echo "✓ Website is responding"
|
||||
else
|
||||
echo "⚠ Website may have issues"
|
||||
fi
|
||||
else
|
||||
echo "✗ Application failed to start"
|
||||
echo "View logs: sudo journalctl -u skyartshop.service -n 50"
|
||||
fi
|
||||
Reference in New Issue
Block a user