diff --git a/openvpn/start.sh b/openvpn/start.sh index c0d8664..da67e8f 100755 --- a/openvpn/start.sh +++ b/openvpn/start.sh @@ -141,7 +141,7 @@ fi if [[ $VPN_ENABLED == "yes" ]]; then echo "[info] Starting OpenVPN..." | ts '%Y-%m-%d %H:%M:%.S' cd /config/openvpn - exec openvpn --config "$VPN_CONFIG" & + exec /bin/bash /etc/openvpn/openvpn.init start exec /bin/bash /etc/qbittorrent/iptables.sh else exec /bin/bash /etc/qbittorrent/start.sh