exiles-ankerctl-hassio-addons/ankerctl/data/run.sh

8 lines
172 B
Bash
Raw Normal View History

2023-05-24 22:19:10 +00:00
#!/usr/bin/bash
CONFIG_PATH=/data/options.json
FLASK_HOST="$(jq --raw-output '.flask_host // empty' $CONFIG_PATH)"
/app/ankerctl.py webserver run --host="${FLASK_HOST}"