diff --git a/qbittorrent/start.sh b/qbittorrent/start.sh index 69036fe..79d7cc6 100644 --- a/qbittorrent/start.sh +++ b/qbittorrent/start.sh @@ -14,7 +14,7 @@ _handler() { trap _handler SIGINT SIGTERM SIGHUP echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S' -/usr/bin/qbittorrent-nox =-profile=/config & +/usr/bin/qbittorrent-nox --profile=/config & child=$(pgrep -o -x qbittorrent-nox) wait "$child"