From dbd15b02e826e6457e232cc186fb31ce7d22e298 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sat, 3 Feb 2018 01:26:22 -0500 Subject: [PATCH] Update start.sh --- openvpn/start.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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