From 0ade3513c169f38cae4020bc302e3681769c73ba Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sat, 3 Feb 2018 22:40:10 -0500 Subject: [PATCH] Update start.sh --- qbittorrent/start.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qbittorrent/start.sh b/qbittorrent/start.sh index 952d940..a714200 100644 --- a/qbittorrent/start.sh +++ b/qbittorrent/start.sh @@ -11,7 +11,7 @@ _handler() { fi } -trap _handler SIGINT SIGTERM SIGHUP +#trap _handler SIGINT SIGTERM SIGHUP if [[ ! -e /config/qBittorrent ]]; then mkdir -p /config/qBittorrent/config/ @@ -24,7 +24,7 @@ if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then fi echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S' -/etc/qbittorrent/qbittorrent.init & +/etc/qbittorrent/qbittorrent.init start while true; do if [ -e /config/qBittorrent ]; then @@ -36,5 +36,5 @@ while true; do fi done -child=$(pgrep -o -x qbittorrent-nox) -wait "$child" +#child=$(pgrep -o -x qbittorrent-nox) +#wait "$child"