Update index.py
This commit is contained in:
parent
7be3cdd5e8
commit
9eabb10e41
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue