mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-24 10:01:40 +00:00
Update start.sh
This commit is contained in:
parent
0a6ba3adfa
commit
7effb3cb97
@ -28,8 +28,10 @@ chmod -R 755 /config/qBittorrent
|
||||
child=$(pgrep -o -x qbittorrent-nox)
|
||||
echo "[info] qbittorrent-nox PID: $child" | ts '%Y-%m-%d %H:%M:%.S'
|
||||
|
||||
while [ -e /proc/$child ]; do
|
||||
sleep 0.1
|
||||
else
|
||||
_handler
|
||||
while true; do
|
||||
if [ -e /proc/$child ]; then
|
||||
sleep 0.1
|
||||
else
|
||||
_handler
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user