diff --git a/openvpn/start.sh b/openvpn/start.sh index 2b84dff..2db1f1b 100755 --- a/openvpn/start.sh +++ b/openvpn/start.sh @@ -128,12 +128,7 @@ for name_server_item in "${name_server_list[@]}"; do done -# Ensure scripts have correct perms -chown root:root /etc/qbittorrent/start.sh -chmod 755 /etc/qbittorrent/start.sh -chmod +x /etc/qbittorrent/start.sh - echo "[info] Starting OpenVPN..." -exec openvpn --config "$VPN_CONFIG" #&& \ -#/bin/bash /etc/qbittorrent/start.sh && \ -#/bin/bash /etc/qbittorrent/iptables.sh +exec openvpn --config "$VPN_CONFIG" && \ +/bin/bash /etc/qbittorrent/start.sh && \ +/bin/bash /etc/qbittorrent/iptables.sh