This commit is contained in:
Mr Chen 2019-01-23 09:57:24 +08:00
parent 7c22685f49
commit cb8d396b98
2 changed files with 2 additions and 2 deletions

View File

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