mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-21 05:20:31 +02:00
RUN_AS_ROOT
This commit is contained in:
@@ -5,8 +5,8 @@ set -e
|
|||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
USER=node
|
USER=node
|
||||||
if bashio::config_has.value "RUN_AS"; then
|
if bashio::config.true "RUN_AS_ROOT"; then
|
||||||
USER="$(bashio::config "RUN_AS")"
|
USER="root"
|
||||||
bashio::log.warning "RUN_AS is set, app will run as $USER"
|
bashio::log.warning "RUN_AS is set, app will run as $USER"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user