ragserver/stop.sh
yumoqing 254bf8e9b2 feat: initial ragserver - web app skeleton with data models, CRUD, and build scripts
- ahserver web app on port 9190
- DB: rag (test/test123, utf8mb4)
- 7 data models: knowledge_bases, documents, document_chunks, entities, entity_relations, subscriptions, engine_configs, usage_logs
- 4 CRUD definitions: knowledge_bases, documents, subscriptions, engine_configs
- build.sh clones all foundation modules + rag-pipeline + services
- independent venv, bricks frontend, RBAC support
2026-07-21 17:00:53 +08:00

9 lines
237 B
Bash
Executable File

#!/bin/bash
cdir=$(cd "$(dirname "$0")"; pwd)
if [ -f ragserver.pid ]; then
kill $(cat ragserver.pid) 2>/dev/null && echo "RAG Server stopped" || echo "Server not running"
rm -f ragserver.pid
else
echo "No PID file found"
fi