mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-26 04:25:00 +00:00
Update start.sh
This commit is contained in:
parent
e2e4ddc398
commit
0522b4ff91
@ -23,10 +23,11 @@ if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
|
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||||
/bin/bash /etc/qbittorrent/qbittorrent.init start &
|
/bin/bash /etc/qbittorrent/qbittorrent.init start
|
||||||
|
|
||||||
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 [ -e /proc/$child ]; do
|
||||||
sleep 0.1;
|
sleep 0.1;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user