mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 07:19:26 +08:00
Update index.py
This commit is contained in:
@@ -99,7 +99,7 @@ class App:
|
||||
|
||||
def status(self):
|
||||
cmd = "ps -ef|grep " + self.getPluginName() + \
|
||||
" |grep -v grep | grep -v python | awk '{print $2}'"
|
||||
" |grep -v grep | grep -v nezha-agent | grep -v python | awk '{print $2}'"
|
||||
data = mw.execShell(cmd)
|
||||
if data[0] == '':
|
||||
return 'stop'
|
||||
|
||||
Reference in New Issue
Block a user