mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 10:34:57 +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
|
||||
|
||||
echo "[info] Starting OpenVPN..."
|
||||
cd /config/openvpn
|
||||
exec openvpn --config "$VPN_CONFIG" &
|
||||
exec /bin/bash /etc/qbittorrent/scripts/iptables.sh
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user