DragMusicV2 / start.sh
dragonxd1's picture
Update start.sh
3c63e27 verified
#!/bin/bash
set -e
echo "🚀 Starting Cloudflare WARP (Docker safe mode)..."
export WARP_DISABLE_FIREWALL=1
mkdir -p /run/cloudflare-warp
warp-svc --accept-tos --log-level info &
sleep 6
warp-cli --accept-tos registration new || true
warp-cli --accept-tos connect
echo "📡 WARP status:"
warp-cli status
echo "🧪 Testing Telegram connectivity..."
nc -vz 149.154.167.50 443 || echo "⚠️ Telegram test failed"
echo "🚀 Starting DragMusic..."
bash start & python3 server.py