Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-04 23:10:47 -05:00 committed by GitHub
parent acd84665ea
commit f9bdc7ec95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!"