diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index 8193f6b..ff99dd4 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -1,6 +1,6 @@ --- name: EPaper Station -version: 1.0.0.19 +version: 1.0.0.20 #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/nginx/run b/epaper-station/rootfs/etc/services.d/nginx/run index 6d8e984..f43de5c 100644 --- a/epaper-station/rootfs/etc/services.d/nginx/run +++ b/epaper-station/rootfs/etc/services.d/nginx/run @@ -1,5 +1,6 @@ #!/usr/bin/with-contenv bashio IMG_DIR="$(bashio::config 'image_path')" bashio::log.info "Starting nginx..." -nginx -g "location /input_img { root $IMG_DIR; }" -c /etc/nginx/nginx.conf +ln -s $IMG_DIR /public/input_img +nginx -c /etc/nginx/nginx.conf bashio::log.info "nginx running."