Initial commit: Video player with HLS support
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
33
stop.sh
Executable file
33
stop.sh
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script para detener Quantum Player y Cloudflare Tunnel
|
||||
# Uso: ./stop.sh
|
||||
|
||||
# Colores para el output
|
||||
RED='\033[0;31m'
|
||||
YELLOW='\033[1;33m'
|
||||
NC='\033[0m' # Sin color
|
||||
|
||||
echo -e "${YELLOW}🛑 Deteniendo Quantum Player...${NC}"
|
||||
|
||||
# Detener servidor Nuxt
|
||||
if pgrep -f "node .output/server/index.mjs" > /dev/null; then
|
||||
pkill -f "node .output/server/index.mjs"
|
||||
echo -e "${RED}✓ Servidor Nuxt detenido${NC}"
|
||||
else
|
||||
echo "→ El servidor Nuxt no estaba corriendo"
|
||||
fi
|
||||
|
||||
# Detener Cloudflare Tunnel
|
||||
if pgrep -f "cloudflared tunnel run" > /dev/null; then
|
||||
pkill -f "cloudflared tunnel run"
|
||||
echo -e "${RED}✓ Cloudflare Tunnel detenido${NC}"
|
||||
else
|
||||
echo "→ El tunnel no estaba corriendo"
|
||||
fi
|
||||
|
||||
echo -e "${RED}"
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
echo "✓ Todos los servicios han sido detenidos"
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
echo -e "${NC}"
|
||||
Reference in New Issue
Block a user