Update index.py

pull/891/head
dami 2 weeks ago
parent b5987b57ad
commit 21fce1f618
  1. 2
      plugins/apache/index.py

@ -174,7 +174,7 @@ def initDreplace():
def status(): def status():
cmd = "ps -ef|grep 'httpd/bin/httpd' |grep -v grep | grep -v python | awk '{print $2}'" cmd = "ps -ef|grep 'httpd' |grep -v grep | grep -v python | awk '{print $2}'"
data = mw.execShell(cmd) data = mw.execShell(cmd)
if data[0] == '': if data[0] == '':
return 'stop' return 'stop'

Loading…
Cancel
Save