Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 06:56:58 -05:00 committed by GitHub
parent e673b42f2d
commit b60d3fb35d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,11 @@ for name_server_item in "${name_server_list[@]}"; do
done
if [[ $VPN_ENABLED == "yes" ]]; then
echo "[info] Starting OpenVPN..."
cd /config/openvpn
exec openvpn --config "$VPN_CONFIG" &
exec /bin/bash /etc/qbittorrent/scripts/iptables.sh
else
exec /bin/bash /etc/qbittorrent/scripts/start.sh
fi