Files
hassio-addons/emby/rootfs/etc/cont-init.d/91-silent.sh
Alexandre 80dbc8f1fb rootfs
2021-12-08 19:34:22 +01:00

12 lines
332 B
Bash

#!/usr/bin/with-contenv bashio
###############
# SILENT MODE #
###############
if bashio::config.true 'silent'; then
APPEND=' > /dev/null'
sed -i '$s|$|'"$APPEND"'|' /etc/services.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