mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update start.sh
This commit is contained in:
parent
e673b42f2d
commit
b60d3fb35d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user