mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-17 06:11:49 +02:00
Set LSIO non-root user flag to 0
This commit is contained in:
@@ -46,7 +46,7 @@ RUN \
|
||||
&& sed -i 's|"/sync",|"/", "/sync",|g' /defaults/sync.conf
|
||||
|
||||
# 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"
|
||||
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