mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 03:09:26 +08:00
Update index.py
This commit is contained in:
@@ -110,7 +110,7 @@ def initDreplace():
|
||||
|
||||
def status():
|
||||
data = public.execShell(
|
||||
"ps -ef|grep qbittorrent-nox-bin | grep -v grep | awk '{print $2}'")
|
||||
"ps -ef|grep dl_worker | grep -v grep | awk '{print $2}'")
|
||||
if data[0] == '':
|
||||
return 'stop'
|
||||
return 'start'
|
||||
|
||||
Reference in New Issue
Block a user