From 86dbe1d123f1b2c57259d6dc8110826f63a899c1 Mon Sep 17 00:00:00 2001 From: mrhotio <26902309+mrhotio@users.noreply.github.com> Date: Fri, 26 Jan 2024 22:42:02 +0100 Subject: [PATCH] fix setting port --- root/app/forwarded_port_update_app | 1 + 1 file changed, 1 insertion(+) diff --git a/root/app/forwarded_port_update_app b/root/app/forwarded_port_update_app index c23b76341..2fc2b0634 100644 --- a/root/app/forwarded_port_update_app +++ b/root/app/forwarded_port_update_app @@ -2,6 +2,7 @@ until pidof qbittorrent-nox > /dev/null; do sleep 1 done +port=$(cat "${CONFIG_DIR}/wireguard/forwarded_port") webui_https="http" if grep -q 'WebUI\\HTTPS\\Enabled=true' "${CONFIG_DIR}/config/qBittorrent.conf"; then webui_https="https"