mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2025-12-06 10:13:21 +00:00
Update start.sh
This commit is contained in:
@@ -24,8 +24,11 @@ fi
|
||||
|
||||
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||
/bin/bash /etc/qbittorrent/qbittorrent.init start &
|
||||
echo "[info] Continuing after script..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||
|
||||
child=$(pgrep -o -x qbittorrent-nox)
|
||||
echo "[info] qbittorrent-nox PID: $child" | ts '%Y-%m-%d %H:%M:%.S'
|
||||
wait "$child"
|
||||
while [ -e /proc/$child ]; do
|
||||
sleep 0.1;
|
||||
else
|
||||
_handler
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user