Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-04 00:50:57 -05:00 committed by GitHub
parent 6e29fa9f69
commit ec27e7b787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,9 +140,9 @@ fi
if [[ $VPN_ENABLED == "yes" ]]; then if [[ $VPN_ENABLED == "yes" ]]; then
echo "[info] Starting OpenVPN..." | ts '%Y-%m-%d %H:%M:%.S' echo "[info] Starting OpenVPN..." | ts '%Y-%m-%d %H:%M:%.S'
#cd /config/openvpn cd /config/openvpn
exec openvpn --config ${VPN_CONFIG} --daemon exec openvpn --config ${VPN_CONFIG} --daemon
exec /bin/bash /etc/openvpn/openvpn.init start & #exec /bin/bash /etc/openvpn/openvpn.init start &
exec /bin/bash /etc/qbittorrent/iptables.sh exec /bin/bash /etc/qbittorrent/iptables.sh
else else
exec /bin/bash /etc/qbittorrent/start.sh exec /bin/bash /etc/qbittorrent/start.sh