homeassistant-addons/epaper-station/rootfs/etc/services.d/image-server/run

5 lines
176 B
Text
Raw Normal View History

2023-02-06 23:55:46 +00:00
#!/usr/bin/with-contenv bashio
IMG_DIR="$(bashio::config 'image_path')"
bashio::log.info "Starting image server..."
2023-02-07 00:09:40 +00:00
python -m http.server 8080 --directory $IMG_DIR > /dev/null