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