From f05a8b5896f3ff5a5060f59d5b3aaca9356fcf8f Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Mon, 6 Feb 2023 22:44:59 +0100 Subject: [PATCH] Properly set variables --- epaper-station/config.yaml | 2 +- epaper-station/rootfs/etc/services.d/epaper-station/run | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index dc919be..0edd121 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -1,6 +1,6 @@ --- name: EPaper Station -version: 1.0.0.3 +version: 1.0.0.4 #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/epaper-station/run b/epaper-station/rootfs/etc/services.d/epaper-station/run index 347ca85..54a9b52 100644 --- a/epaper-station/rootfs/etc/services.d/epaper-station/run +++ b/epaper-station/rootfs/etc/services.d/epaper-station/run @@ -2,10 +2,10 @@ bashio::log.info "Reading config..." CONFIG_PATH=/data/options.json -EPS_CHANNEL="$(bashio::config 'channel')" -EPS_PORT="$(bashio::config 'serial_port')" -EPS_IMAGE_WORKDIR="/tmp" -EPS_DATABASE_DIR="/data/database/" +export EPS_CHANNEL="$(bashio::config 'channel')" +export EPS_PORT="$(bashio::config 'serial_port')" +export EPS_IMAGE_WORKDIR="/tmp" +export EPS_DATABASE_DIR="/data/database/" mkdir -p $EPS_DATABASE_DIR bashio::log.info "Starting epaper station..."