mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-13 22:24:57 +00:00
Add 5 second sleep to allow openvpn to connect first
This commit is contained in:
parent
e9bef978ac
commit
c5a3e47d5e
@ -163,6 +163,8 @@ if [[ $VPN_ENABLED == "yes" ]]; then
|
||||
echo "[info] Starting OpenVPN..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||
cd /config/openvpn
|
||||
exec openvpn --config ${VPN_CONFIG} &
|
||||
# give openvpn some time to connect
|
||||
sleep 5
|
||||
#exec /bin/bash /etc/openvpn/openvpn.init start &
|
||||
exec /bin/bash /etc/qbittorrent/iptables.sh
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user