mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-05 15:15:58 +02:00
Keep env
This commit is contained in:
@@ -74,7 +74,7 @@ bashio::log.info "Please wait while the app is loading !"
|
|||||||
cd /var/www/html || true
|
cd /var/www/html || true
|
||||||
if bashio::config.true 'silent'; then
|
if bashio::config.true 'silent'; then
|
||||||
bashio::log.warning "Silent mode activated. Only errors will be shown. Please disable in addon options if you need to debug"
|
bashio::log.warning "Silent mode activated. Only errors will be shown. Please disable in addon options if you need to debug"
|
||||||
sudo su - www-data -s /bin/bash -c 'cd /var/www/html && /./usr/local/bin/entrypoint.sh' >/dev/null
|
sudo -E su - www-data -s /bin/bash -c 'cd /var/www/html && /./usr/local/bin/entrypoint.sh' >/dev/null
|
||||||
else
|
else
|
||||||
sudo su - www-data -s /bin/bash -c 'cd /var/www/html && /./usr/local/bin/entrypoint.sh'
|
sudo -E su - www-data -s /bin/bash -c 'cd /var/www/html && /./usr/local/bin/entrypoint.sh'
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user