Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 02:24:26 -05:00 committed by GitHub
parent cf14db0fd3
commit 777f66097b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,16 +20,7 @@ else
chmod 644 /root/.config/qBittorrent/qBittorrent.conf
fi
while true; do
if [ -c /dev/net/tun ];
exec /bin/bash /etc/qbittorrent/iptables.sh
break
else
sleep 1
fi
done
trap trap_handler SIGINT SIGTERM SIGHUP
echo "[info] Starting qBittorrent daemon..."
/usr/bin/qbittorrent-nox -d &&; wait
/usr/bin/qbittorrent-nox -d &&