From cb8d396b98a2fc3ecce9edea5fc1cd9c1bb87df4 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 23 Jan 2019 09:57:24 +0800 Subject: [PATCH] update --- plugins/qbittorrent/init.d/qbittorrent.tpl | 4 ++-- .../workers/{dl_worker.py => qbittorrent_worker.py} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename plugins/qbittorrent/workers/{dl_worker.py => qbittorrent_worker.py} (100%) diff --git a/plugins/qbittorrent/init.d/qbittorrent.tpl b/plugins/qbittorrent/init.d/qbittorrent.tpl index 1e2ca0672..5641a834c 100644 --- a/plugins/qbittorrent/init.d/qbittorrent.tpl +++ b/plugins/qbittorrent/init.d/qbittorrent.tpl @@ -15,13 +15,13 @@ qb_start(){ cd {$SERVER_PATH}/qbittorrent/workers - nohup python dl_worker.py > {$SERVER_PATH}/qbittorrent/logs.pl 2>&1 & + nohup python qbittorrent_worker.py > {$SERVER_PATH}/qbittorrent/logs.pl 2>&1 & } qb_stop(){ echo "Stopping ..." #ps -ef | grep qbittorrent-nox-bin | grep -v grep | awk '{print $2}' | xargs kill - ps -ef | grep "python dl_worker.py" | grep -v grep | awk '{print $2}' | xargs kill + ps -ef | grep "python qbittorrent_worker.py" | grep -v grep | awk '{print $2}' | xargs kill echo "Redis stopped" } diff --git a/plugins/qbittorrent/workers/dl_worker.py b/plugins/qbittorrent/workers/qbittorrent_worker.py similarity index 100% rename from plugins/qbittorrent/workers/dl_worker.py rename to plugins/qbittorrent/workers/qbittorrent_worker.py