Update run

This commit is contained in:
Alexandre
2021-09-13 21:29:04 +02:00
committed by GitHub
parent 81575664e4
commit b394a3a426

View File

@@ -3,9 +3,11 @@
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 --down /etc/openvpn/down.sh
exec /usr/sbin/openvpn --config /etc/openvpn/config.ovpn --script-security 2 --up /etc/openvpn/up.sh --down /etc/openvpn/down.sh \
& bashio::log.info "Started"
else
exec s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}"
exec s6-setuidgid abc /usr/bin/qbittorrent-nox --webui-port="${WEBUI_PORT}" \
& bashio::log.info "Started"
fi
###########