mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update Dockerfile to improve service directory check
This commit is contained in:
@@ -42,7 +42,7 @@ RUN \
|
|||||||
usermod --home /config/data_kde abc && \
|
usermod --home /config/data_kde abc && \
|
||||||
\
|
\
|
||||||
# Set +e
|
# Set +e
|
||||||
[[ -d /etc/services.d ]] && sed -i "1a set +e" /etc/services.d/*/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
|
# Global LSIO modifications
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user