From 30454e3b4a679aa9c72ea9f6a22b5117c0b07281 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 1 Oct 2024 17:57:29 +0800 Subject: [PATCH] Update index.py --- plugins/pgadmin/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/pgadmin/index.py b/plugins/pgadmin/index.py index eecd65fc9..40f6f9729 100755 --- a/plugins/pgadmin/index.py +++ b/plugins/pgadmin/index.py @@ -244,7 +244,7 @@ def start(): pgOp('start') - cleanNginxLog() + return 'ok' @@ -256,12 +256,14 @@ def stop(): def restart(): + cleanNginxLog() state = pgOp('restart') mw.restartWeb() return state def reload(): + cleanNginxLog() return pgOp('reload') def getPgOption():