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