hy-app-monitor/scripts/run_haiyi_foreground.sh
2026-04-23 01:56:18 +08:00

10 lines
229 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)"
# shellcheck disable=SC1091
source "$SCRIPT_DIR/common.sh"
export_service_env haiyi
exec "$PYTHON_BIN" "$ROOT_DIR/haiyi_server.py"