2
0
python-capport/start-api.sh

9 lines
163 B
Bash
Raw Normal View History

2022-04-04 19:21:51 +02:00
#!/bin/bash
set -e
base=$(dirname "$(readlink -f "$0")")
cd "${base}"
2022-04-06 19:47:08 +02:00
exec ./venv/bin/hypercorn --config python:capport.api.hypercorn_conf capport.api.app "$@"