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
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
|
||||
while true; do
|
||||
if [ -e /proc/$child ]; then
|
||||
sleep 0.1
|
||||
else
|
||||
_handler
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user