veza/scripts/stop_minimal.sh

18 lines
350 B
Bash
Raw Permalink Normal View History

#!/bin/bash
echo "🛑 Stopping Minimal Stack..."
if [ -f backend.pid ]; then
kill $(cat backend.pid) 2>/dev/null || true
rm backend.pid
fi
if [ -f frontend.pid ]; then
kill $(cat frontend.pid) 2>/dev/null || true
rm frontend.pid
fi
# Stop Docker infra
docker compose -f docker-compose.yml stop postgres redis
echo "✅ Stopped."