deerflow-code/scripts/stop-backend.sh
2026-09-07 18:24:55 +08:00

8 lines
250 B
Bash

#!/usr/bin/env bash
set -euo pipefail
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/env.sh"
stop_by_pid_file "Backend" "${PID_DIR}/backend.pid"
stop_by_pattern "Backend" "${BACKEND_DIR}.*uvicorn app.gateway.app:app.*--port ${BACKEND_PORT}"