From 13a90e5d5536d6634e95f13f5bf0f318e95239df Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 12 Jul 2022 14:28:13 +0800 Subject: [PATCH] up --- plugins/mariadb/index.py | 5 ----- plugins/mysql/index.py | 5 ----- 2 files changed, 10 deletions(-) diff --git a/plugins/mariadb/index.py b/plugins/mariadb/index.py index bed83d156..cbe8b5181 100755 --- a/plugins/mariadb/index.py +++ b/plugins/mariadb/index.py @@ -198,11 +198,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 = getPidFile() if not os.path.exists(pid): return 'stop' diff --git a/plugins/mysql/index.py b/plugins/mysql/index.py index 92198e17b..8a4898ae2 100755 --- a/plugins/mysql/index.py +++ b/plugins/mysql/index.py @@ -198,11 +198,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 = getPidFile() if not os.path.exists(pid): return 'stop'