mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update start.sh
This commit is contained in:
parent
cf14db0fd3
commit
777f66097b
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user