softlink instead

This commit is contained in:
Jan-Henrik 2023-02-07 00:11:29 +01:00
parent a89abda6eb
commit 4412789f43
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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."