Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 01:26:22 -05:00 committed by GitHub
parent df2e2d7926
commit dbd15b02e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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