pull/5/head
Mr Chen 6 years ago
parent 7c22685f49
commit cb8d396b98
  1. 4
      plugins/qbittorrent/init.d/qbittorrent.tpl
  2. 0
      plugins/qbittorrent/workers/qbittorrent_worker.py

@ -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"
}

Loading…
Cancel
Save