diff --git a/run/nobody/qbittorrent.sh b/run/nobody/qbittorrent.sh index a3671f4..1aa0812 100644 --- a/run/nobody/qbittorrent.sh +++ b/run/nobody/qbittorrent.sh @@ -56,7 +56,7 @@ if [[ "${VPN_PROV}" == "pia" && -n "${VPN_INCOMING_PORT}" ]]; then curl -i -X POST -d "json=%7B%22random_port%22%3Afalse%7D" "http://localhost:${WEBUI_PORT}/command/setPreferences" &> /dev/null curl -i -X POST -d "json=%7B%22listen_port%22%3A${VPN_INCOMING_PORT}%7D" "http://localhost:${WEBUI_PORT}/command/setPreferences" &> /dev/null - # set rtorrent port to current vpn port (used when checking for changes on next run) + # set qbittorrent port to current vpn port (used when checking for changes on next run)s qbittorrent_port="${VPN_INCOMING_PORT}" fi