Update start.sh

This commit is contained in:
MarkusMcNugen
2018-02-04 23:10:47 -05:00
committed by GitHub
parent acd84665ea
commit f9bdc7ec95

View File

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