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
acd84665ea
commit
f9bdc7ec95
@ -22,6 +22,9 @@ qbpid=$(pgrep -o -x qbittorrent-nox)
|
||||
echo "[info] qBittorrent PID: $qbpid" | ts '%Y-%m-%d %H:%M:%.S'
|
||||
|
||||
if [ -e /proc/$qbpid ]; then
|
||||
if [[ -e /config/qBittorrent/data/logs/qbittorrent.log ]]; then
|
||||
chmod 775 /config/qBittorrent/data/logs/qbittorrent.log
|
||||
fi
|
||||
sleep infinity
|
||||
else
|
||||
echo "qBittorrent failed to start!"
|
||||
|
Loading…
Reference in New Issue
Block a user