wwwdata
This commit is contained in:
parent
ff9194fe67
commit
2b94a8476d
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: EPaper Station
|
name: EPaper Station
|
||||||
version: 1.0.0.26
|
version: 1.0.0.27
|
||||||
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
||||||
slug: epaper-station
|
slug: epaper-station
|
||||||
description: Publish Pictures to EPaper pricetags
|
description: Publish Pictures to EPaper pricetags
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
daemon off;
|
daemon off;
|
||||||
error_log /dev/stdout info;
|
error_log /dev/stdout info;
|
||||||
user root;
|
user www-data;
|
||||||
events {
|
events {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/with-contenv bashio
|
#!/usr/bin/with-contenv bashio
|
||||||
|
s6-setuidgid www-data
|
||||||
IMG_DIR="$(bashio::config 'image_path')"
|
IMG_DIR="$(bashio::config 'image_path')"
|
||||||
bashio::log.info "Starting nginx..."
|
bashio::log.info "Starting nginx..."
|
||||||
sed -i "s~IMG_DIR~$IMG_DIR~g" /etc/nginx/nginx.conf
|
sed -i "s~IMG_DIR~$IMG_DIR~g" /etc/nginx/nginx.conf
|
||||||
chmod +x $IMG_DIR
|
|
||||||
nginx -c /etc/nginx/nginx.conf
|
nginx -c /etc/nginx/nginx.conf
|
||||||
bashio::log.info "nginx running."
|
bashio::log.info "nginx running."
|
||||||
|
|
Loading…
Reference in a new issue