Update index.py

This commit is contained in:
midoks
2023-03-04 23:53:54 +08:00
parent 4082f29424
commit 79c9865a5d
+3 -1
View File
@@ -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] != '':