mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -62,7 +62,7 @@ def getArgs():
|
||||
return tmp
|
||||
|
||||
def status():
|
||||
cmd = "ps -ef|grep mtproxy| grep mtg |grep -v grep | grep -v python | awk '{print $2}'"
|
||||
cmd = "ps -ef|grep x-ui |grep -v grep | grep -v python | awk '{print $2}'"
|
||||
data = mw.execShell(cmd)
|
||||
if data[0] == '':
|
||||
return 'stop'
|
||||
|
||||
Reference in New Issue
Block a user