homeassistant-addons/epaper-station/rootfs/etc/services.d/image-server/run
2023-02-07 00:57:29 +01:00

5 lines
155 B
Text

#!/usr/bin/with-contenv bashio
IMG_DIR="$(bashio::config 'image_path')"
bashio::log.info "Starting image server..."
cd $IMG_DIR
python -m http.server 8080