From 78410670b34036c748542c0f0053ab951de29be5 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 23 Jan 2019 20:51:56 +0800 Subject: [PATCH] Update qbittorrent.tpl --- plugins/qbittorrent/init.d/qbittorrent.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/qbittorrent/init.d/qbittorrent.tpl b/plugins/qbittorrent/init.d/qbittorrent.tpl index 4061f73c3..048e2af73 100644 --- a/plugins/qbittorrent/init.d/qbittorrent.tpl +++ b/plugins/qbittorrent/init.d/qbittorrent.tpl @@ -21,8 +21,8 @@ qb_start(){ qb_stop(){ echo "Stopping ..." - #ps -ef | grep qbittorrent-nox-bin | grep -v grep | awk '{print $2}' | xargs kill - ps -ef | grep "qbittorrent_worker.py" | grep -v grep | awk '{print $2}' | xargs kill + #ps -ef | grep qbittorrent-nox-bin | grep -v grep | awk '{print $2}' | xargs kill -9 + ps -ef | grep "qbittorrent_worker.py" | grep -v grep | awk '{print $2}' | xargs kill -9 echo "qbittorrent stopped" }