Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 01:14:07 -05:00 committed by GitHub
parent a211124f5d
commit 18b9533bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,6 +128,11 @@ 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 && \