mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2025-12-06 10:13:21 +00:00
Update start.sh
This commit is contained in:
@@ -128,7 +128,11 @@ for name_server_item in "${name_server_list[@]}"; do
|
|||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "[info] Starting OpenVPN..."
|
if [[ $VPN_ENABLED == "yes" ]]; then
|
||||||
cd /config/openvpn
|
echo "[info] Starting OpenVPN..."
|
||||||
exec openvpn --config "$VPN_CONFIG" &
|
cd /config/openvpn
|
||||||
exec /bin/bash /etc/qbittorrent/scripts/iptables.sh
|
exec openvpn --config "$VPN_CONFIG" &
|
||||||
|
exec /bin/bash /etc/qbittorrent/scripts/iptables.sh
|
||||||
|
else
|
||||||
|
exec /bin/bash /etc/qbittorrent/scripts/start.sh
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user