This commit is contained in:
Alexandre
2022-10-31 09:49:52 +01:00
4 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
É#!/usr/bin/with-contenv bashio
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
###############
@@ -6,7 +6,7 @@
###############
if bashio::config.true 'silent'; then
APPEND=' > /dev/null'
APPEND=' >/dev/null'
sed -i '$s|$|'"$APPEND"'|' /etc/s6-overlay/s6-rc.d/*/run
bashio::log.info 'Silent mode activated, all logs from emby server are hidden. Disable this option if you need to troubleshoot the addon.'
fi

View File

@@ -29,7 +29,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# hadolint ignore=SC2016
# hadolint ignore=SC2016,SC2086
RUN \
# Set password
files=$(grep -sril "set FG_WEBUI_PASSWD" /etc/s6-overlay/s6-rc.d) \
@@ -39,7 +39,7 @@ RUN \
# Global LSIO modifications
ARG CONFIGLOCATION="/config/addons_config/flexget"
# hadolint ignore=SC2015, SC2013
# hadolint ignore=SC2015,SC2013,SC2236
RUN \
# Avoid custom-init.d duplications
for file in $(grep -sril 'Potential tampering with custom' /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do rm -f "$file"; done \

View File

@@ -33,7 +33,7 @@ ENV NEXTCLOUD_PATH="/data/config/www/nextcloud"
# Global LSIO modifications
ARG CONFIGLOCATION="/data/config"
# shellcheck disable=SC2046
# shellcheck disable=SC2046,SC2013
RUN \
# Remove upstream files
rm -rf /etc/cont-init.d/10-adduser /etc/cont-init.d/30-keygen /etc/cont-init.d/40-config /etc/cont-init.d/50-install /etc/cont-init.d/60-memcache /etc/cont-init.d/70-aliases \

View File

@@ -28,7 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_SERVICES_GRACETIME=0
# Image specific modifications
# hadolint ignore=SC2016
# hadolint ignore=SC2016,SC2086
RUN \
# CORRECT PLEX CLAIM
file=$(grep -sril 'Server claimed successfully' /etc) \
@@ -38,7 +38,7 @@ RUN \
# Global LSIO modifications
ARG CONFIGLOCATION="/config"
# hadolint ignore=SC2015, SC2013
# hadolint ignore=SC2015,SC2013,SC2236
RUN \
# Avoid custom-init.d duplications
for file in $(grep -sril 'Potential tampering with custom' /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do rm -f "$file"; done \