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