Update 92-qbit_manage.sh

This commit is contained in:
Alexandre
2023-12-31 19:14:45 +01:00
committed by GitHub
parent 56e846a227
commit 9764b50908

View File

@@ -30,7 +30,7 @@ if bashio::config.true "qbit_manage"; then
sed -i "/pass: password/c\ pass: homeassistant" /config/qbit_manage/qbit_manage.yml
# Set root dir
echo "... downloads directory set to $(bashio::config 'SavePath')"
sed -i "/root_dir/d" /config/qbit_manage/qbit_manage.yml
sed -i "/ root_dir/d" /config/qbit_manage/qbit_manage.yml
sed -i "/directory:/a\ root_dir: \"$(bashio::config 'SavePath')\"" /config/qbit_manage/qbit_manage.yml
# Startup delay 30s ; config file specific ; log file specific