mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-07 01:18:16 +02:00
Set LSIO non-root user flag to 0
This commit is contained in:
@@ -45,7 +45,7 @@ RUN \
|
||||
if [[ -d /etc/services.d ]] && ls /etc/services.d/*/run 1> /dev/null 2>&1; then sed -i "1a set +e" /etc/services.d/*/run; fi
|
||||
|
||||
# Global LSIO modifications
|
||||
ENV LSIO_NON_ROOT_USER=1
|
||||
ENV LSIO_NON_ROOT_USER=0
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
|
||||
ARG CONFIGLOCATION="/config/data_kde"
|
||||
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh
|
||||
|
||||
Reference in New Issue
Block a user