mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-24 18:11:40 +00:00
Update start.sh
This commit is contained in:
parent
6997adb6bc
commit
a1bf875df0
@ -13,13 +13,13 @@ if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
|
||||
chmod 755 /config/qBittorrent/config/qBittorrent.conf
|
||||
fi
|
||||
|
||||
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||
echo "[info] Starting qBittorrent daemon..."
|
||||
/bin/bash /etc/qbittorrent/qbittorrent.init start &
|
||||
chmod -R 755 /config/qBittorrent
|
||||
|
||||
sleep 1
|
||||
qbpid=$(pgrep -o -x qbittorrent-nox)
|
||||
echo "[info] qBittorrent PID: $qbpid" | ts '%Y-%m-%d %H:%M:%.S'
|
||||
echo "[info] qBittorrent PID: $qbpid"
|
||||
|
||||
if [ -e /proc/$qbpid ]; then
|
||||
if [[ -e /config/qBittorrent/data/logs/qbittorrent.log ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user