From 6ee80b595f9e5739623756004152de7f89f85857 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 23 Dec 2023 00:05:25 +0100 Subject: [PATCH] Update run https://github.com/alexbelgium/hassio-addons/issues/1127#issuecomment-1867877534 --- qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run b/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run index 4a9f251f3..b8311578c 100644 --- a/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run +++ b/qbittorrent/rootfs/etc/s6-overlay/s6-rc.d/svc-qbittorrent/run @@ -1,6 +1,5 @@ #!/usr/bin/with-contenv bashio # shellcheck shell=bash -set -e WEBUI_PORT=${WEBUI_PORT:-8080} @@ -9,8 +8,7 @@ if bashio::config.true 'silent'; then fi if bashio::config.true 'openvpn_enabled'; then - cd /etc/openvpn || true - 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 --pull-filter ignore "route-ipv6" --pull-filter ignore "ifconfig-ipv6" --pull-filter ignore "tun-ipv6" --pull-filter ignore "redirect-gateway ipv6" --pull-filter ignore "dhcp-option DNS6" else if bashio::config.true 'silent'; then exec \