From 79c9865a5d889ded44a6844a1d920de9c4fc7df5 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 4 Mar 2023 23:53:54 +0800 Subject: [PATCH] Update index.py --- plugins/supervisor/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/supervisor/index.py b/plugins/supervisor/index.py index 7344be95f..debc7c7ec 100755 --- a/plugins/supervisor/index.py +++ b/plugins/supervisor/index.py @@ -342,7 +342,9 @@ def restartJob(): status = args['status'] action = "启动" - cmd = supCtl + " restart " + name + cmd = supCtl + " stop " + name + data = mw.execShell(cmd) + cmd = supCtl + " start " + name data = mw.execShell(cmd) if data[1] != '':