Files
hassio-addons/emby/rootfs/etc/cont-init.d/91-silent.sh
Alexandre c6278545c0 New s6
2022-10-26 09:43:17 +01:00

13 lines
378 B
Bash

É#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
###############
# SILENT MODE #
###############
if bashio::config.true 'silent'; then
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