From a1bf875df0b30b98fa3c5bfd9ea50d1cd5d21fab Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sun, 11 Feb 2018 22:51:20 -0500 Subject: [PATCH] Update start.sh --- qbittorrent/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qbittorrent/start.sh b/qbittorrent/start.sh index 0d76967..13518a2 100644 --- a/qbittorrent/start.sh +++ b/qbittorrent/start.sh @@ -13,13 +13,13 @@ if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then chmod 755 /config/qBittorrent/config/qBittorrent.conf fi -echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S' +echo "[info] Starting qBittorrent daemon..." /bin/bash /etc/qbittorrent/qbittorrent.init start & chmod -R 755 /config/qBittorrent sleep 1 qbpid=$(pgrep -o -x qbittorrent-nox) -echo "[info] qBittorrent PID: $qbpid" | ts '%Y-%m-%d %H:%M:%.S' +echo "[info] qBittorrent PID: $qbpid" if [ -e /proc/$qbpid ]; then if [[ -e /config/qBittorrent/data/logs/qbittorrent.log ]]; then