From 8478b94f615fed11b77ad9362d6a12ccd3f1a782 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Tue, 7 Feb 2023 01:01:25 +0100 Subject: [PATCH] imgdir --- epaper-station/config.yaml | 2 +- epaper-station/rootfs/etc/services.d/image-server/run | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index 28b5494..4a93fc4 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -1,6 +1,6 @@ --- name: EPaper Station -version: 1.0.0.33 +version: 1.0.0.34 #image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch} slug: epaper-station description: Publish Pictures to EPaper pricetags diff --git a/epaper-station/rootfs/etc/services.d/image-server/run b/epaper-station/rootfs/etc/services.d/image-server/run index 7e728f7..8ba8d2b 100644 --- a/epaper-station/rootfs/etc/services.d/image-server/run +++ b/epaper-station/rootfs/etc/services.d/image-server/run @@ -1,5 +1,4 @@ #!/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 +python -m http.server 8080 --directory $IMG_DIR