Update up-qbittorrent.sh

This commit is contained in:
Alexandre
2021-04-06 22:12:58 +02:00
committed by GitHub
parent fad8316fc0
commit 99cbc7eab4

View File

@@ -8,8 +8,8 @@ if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
fi
declare CONFIG
CONFIG=$(</data/qbittorrent/settings.json)
CONFIG=$(</config/qBittorrent/qBittorrent.conf)
CONFIG=$(bashio::jq "${CONFIG}" ".\"bind-address-ipv4\"=\"${1}\"")
echo "${CONFIG}" > /data/qbittorrent/settings.json
echo "${CONFIG}" > /config/qBittorrent/qBittorrent.conf
exec /usr/bin/transmission-daemon --foreground --config-dir /data/transmission