Files
cold_display_guard/scripts/run_manage_api.sh
2026-04-27 11:28:57 +08:00

9 lines
248 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
CONFIG_PATH="${CONFIG_PATH:-config/example.toml}"
HOST="${HOST:-127.0.0.1}"
PORT="${PORT:-19080}"
PYTHONPATH=src python3 -m cold_display_guard.manage_api --config "$CONFIG_PATH" --host "$HOST" --port "$PORT"