mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-09 22:29:25 +08:00
Update index.py
This commit is contained in:
@@ -118,7 +118,7 @@ def configScriptsTpl():
|
||||
|
||||
def status():
|
||||
data = mw.execShell(
|
||||
"ps aux|grep keepalived |grep -v grep | grep -v python| awk '{print $2}'")
|
||||
"ps -ef|grep keepalived |grep -v grep | grep -v python| awk '{print $2}'")
|
||||
|
||||
if data[0] == '':
|
||||
return 'stop'
|
||||
|
||||
Reference in New Issue
Block a user