From 127d1c9450463114d43911c720780b96ef93286c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 27 Apr 2021 13:58:22 +0200 Subject: [PATCH] Update up.sh --- qbittorrent/rootfs/etc/openvpn/up.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qbittorrent/rootfs/etc/openvpn/up.sh b/qbittorrent/rootfs/etc/openvpn/up.sh index 8b1378917..0462645eb 100644 --- a/qbittorrent/rootfs/etc/openvpn/up.sh +++ b/qbittorrent/rootfs/etc/openvpn/up.sh @@ -1 +1,5 @@ +#!/usr/bin/with-contenv bashio +WEBUI_PORT=${WEBUI_PORT:-8080} + +exec s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"