mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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] != '':
|
||||
|
||||
Reference in New Issue
Block a user