Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-04 20:58:26 -05:00 committed by GitHub
parent 8797cfd5c2
commit a85d21bad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ 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 &
chmod -R 755 /config/qBittorrent chmod -R 755 /config/qBittorrent
sleep 1
child=$(pgrep -o -x qbittorrent-nox) child=$(pgrep -o -x qbittorrent-nox)
echo "[info] qBittorrent PID: $child" | ts '%Y-%m-%d %H:%M:%.S' echo "[info] qBittorrent PID: $child" | ts '%Y-%m-%d %H:%M:%.S'