kin/scripts/start-api.sh
2026-03-17 16:36:52 +02:00

4 lines
219 B
Bash
Executable file

#!/bin/bash
sock=$(ls /private/tmp/com.apple.launchd.*/Listeners 2>/dev/null | head -1)
[ -n "$sock" ] && export SSH_AUTH_SOCK="$sock"
exec /opt/homebrew/bin/python3.11 -m uvicorn web.api:app --host 0.0.0.0 --port 8420