hassio-addons/docmaster/start.sh

9 lines
168 B
Bash
Raw Normal View History

2021-06-30 20:17:57 +00:00
#!/bin/sh
set -e
CONFIG_PATH=/data/options.json
PRINTER_HOST=$(jq --raw-output ".printer_host" $CONFIG_PATH)
cd /app
gunicorn app:app --bind 0.0.0.0:6000 --workers=2