From f9bdc7ec95ee43187b71e0ddb2c915ba70a97ad0 Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 4 Feb 2018 23:10:47 -0500 Subject: [PATCH] Update start.sh --- qbittorrent/start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qbittorrent/start.sh b/qbittorrent/start.sh index 302cf19..0d76967 100644 --- a/qbittorrent/start.sh +++ b/qbittorrent/start.sh @@ -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!"