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
6997adb6bc
commit
a1bf875df0
@ -13,13 +13,13 @@ if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
|
|||||||
chmod 755 /config/qBittorrent/config/qBittorrent.conf
|
chmod 755 /config/qBittorrent/config/qBittorrent.conf
|
||||||
fi
|
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 &
|
/bin/bash /etc/qbittorrent/qbittorrent.init start &
|
||||||
chmod -R 755 /config/qBittorrent
|
chmod -R 755 /config/qBittorrent
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
qbpid=$(pgrep -o -x qbittorrent-nox)
|
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 /proc/$qbpid ]; then
|
||||||
if [[ -e /config/qBittorrent/data/logs/qbittorrent.log ]]; then
|
if [[ -e /config/qBittorrent/data/logs/qbittorrent.log ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user