Update run

This commit is contained in:
Alexandre
2021-04-27 22:19:03 +02:00
committed by GitHub
parent 5a5881f2ea
commit 4b6ae03dbf

View File

@@ -3,7 +3,7 @@
WEBUI_PORT=${WEBUI_PORT:-8080}
if bashio::config.true 'openvpn_enabled'; then
exec /usr/sbin/openvpn --config /etc/openvpn/config.ovpn --script-security 2 --up /etc/openvpn/up.sh
exec /usr/sbin/openvpn --config /etc/openvpn/config.ovpn --script-security 2 --up /etc/openvpn/up.sh --down /etc/openvpn/down.sh
else
exec s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
fi