From 0ab0a918c32a9cbacb9f16f27330cdd3db482c8c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 1 Oct 2024 15:46:11 +0800 Subject: [PATCH] Update index.py --- plugins/pgadmin/index.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/pgadmin/index.py b/plugins/pgadmin/index.py index b8d5922a5..d7ce7e5f9 100755 --- a/plugins/pgadmin/index.py +++ b/plugins/pgadmin/index.py @@ -233,9 +233,6 @@ def pgOp(method): return 'ok' return data[1] - if method == 'stop' or method == 'restart': - mw.execShell(file + ' ' + 'stop') - data = mw.execShell('systemctl ' + method+ '' + getPluginName()) if data[1] == '': return 'ok'