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)
|
child=$(pgrep -o -x qbittorrent-nox)
|
||||||
echo "[info] qbittorrent-nox PID: $child" | ts '%Y-%m-%d %H:%M:%.S'
|
echo "[info] qbittorrent-nox PID: $child" | ts '%Y-%m-%d %H:%M:%.S'
|
||||||
|
|
||||||
while [ -e /proc/$child ]; do
|
while true; do
|
||||||
sleep 0.1
|
if [ -e /proc/$child ]; then
|
||||||
else
|
sleep 0.1
|
||||||
_handler
|
else
|
||||||
|
_handler
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user