Update index.py

pull/109/head
midoks 3 years ago
parent 6f20b46acd
commit 88c1c95899
  1. 2
      plugins/mysql/index.py

@ -380,7 +380,7 @@ def my8cmd(version, method):
if method == "stop":
mw.execShell(cmd)
mw.execShell(
"ps -ef|grep mysql|grep -v grep|awk '{print $2}'|xargs kill")
"ps -ef|grep mysql|grep -v grep|grep -v /www/server|awk '{print $2}'|xargs kill")
return "ok"
sub = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True,
bufsize=4096, stderr=subprocess.PIPE)

Loading…
Cancel
Save