Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-04 20:45:11 -05:00 committed by GitHub
parent d0acefd185
commit be68252eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ fi
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S' echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
/bin/bash /etc/qbittorrent/qbittorrent.init start & /bin/bash /etc/qbittorrent/qbittorrent.init start &
echo "[info] Started qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S' echo "[info] Started qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
chmod -R 755 /config/qBittorrent
child=$(pgrep -o -x qbittorrent-nox) child=$(pgrep -o -x qbittorrent-nox)
echo "[info] qbittorrent-nox PID: $child" | ts '%Y-%m-%d %H:%M:%.S' echo "[info] qbittorrent-nox PID: $child" | ts '%Y-%m-%d %H:%M:%.S'