From a1c01de395ada38b820e657cfab842b7871513fa Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Tue, 7 Feb 2023 00:39:37 +0100 Subject: [PATCH] wwwdata2 --- epaper-station/config.yaml | 2 +- epaper-station/rootfs/etc/services.d/nginx/run | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index 5573e39..9e2e384 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -1,6 +1,6 @@ --- name: EPaper Station -version: 1.0.0.27 +version: 1.0.0.28 #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 b8bd5e2..f65fbfc 100644 --- a/epaper-station/rootfs/etc/services.d/nginx/run +++ b/epaper-station/rootfs/etc/services.d/nginx/run @@ -1,7 +1,6 @@ #!/usr/bin/with-contenv bashio -s6-setuidgid www-data IMG_DIR="$(bashio::config 'image_path')" bashio::log.info "Starting nginx..." sed -i "s~IMG_DIR~$IMG_DIR~g" /etc/nginx/nginx.conf -nginx -c /etc/nginx/nginx.conf +s6-setuidgid www-data nginx -c /etc/nginx/nginx.conf bashio::log.info "nginx running."