Update index.py

This commit is contained in:
midoks
2022-07-06 13:45:26 +08:00
parent f5c9f9e745
commit b7c1d738dd
-5
View File
@@ -168,11 +168,6 @@ def initDreplace(version=''):
def status(version=''):
data = mw.execShell(
"ps -ef|grep mysqld |grep -v grep | grep -v python | awk '{print $2}'")
if data[0] == '':
return 'stop'
pid = getServerDir() + '/data/mysql.pid'
if not os.path.exists(pid):
return 'stop'