Update index.py

pull/891/head
dami 2 weeks ago
parent 278bd7f38e
commit 0de3a16898
  1. 2
      plugins/keepalived/index.py

@ -118,7 +118,7 @@ def configScriptsTpl():
def status(): def status():
data = mw.execShell( 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] == '': if data[0] == '':
return 'stop' return 'stop'

Loading…
Cancel
Save