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
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'
|
echo "[info] qBittorrent PID: $qbpid" | ts '%Y-%m-%d %H:%M:%.S'
|
||||||
|
|
||||||
if [ -e /proc/$qbpid ]; then
|
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
|
sleep infinity
|
||||||
else
|
else
|
||||||
echo "qBittorrent failed to start!"
|
echo "qBittorrent failed to start!"
|
||||||
|
Loading…
Reference in New Issue
Block a user