mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update index.py
This commit is contained in:
@@ -74,7 +74,7 @@ def checkArgs(data, ck=[]):
|
||||
def status():
|
||||
pn = getPluginName()
|
||||
data = public.execShell(
|
||||
"ps -ef|grep " + pn + " |grep -v grep | grep -v python | awk '{print $2}'")
|
||||
"ps -ef|grep " + pn + " |grep -v grep |grep -v .jar | grep -v python | awk '{print $2}'")
|
||||
if data[0] == '':
|
||||
return 'stop'
|
||||
return 'start'
|
||||
|
||||
Reference in New Issue
Block a user