Update run

This commit is contained in:
Alexandre
2022-04-27 15:34:08 +02:00
committed by GitHub
parent 637d291b6c
commit 62cec2e457

View File

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