Update index.py

This commit is contained in:
Mr Chen
2019-08-07 16:09:27 +08:00
parent a026da484f
commit 72f1d1c43a
+1 -1
View File
@@ -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'