Update index.py
This commit is contained in:
parent
4082f29424
commit
79c9865a5d
|
|
@ -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] != '':
|
||||
|
|
|
|||
Loading…
Reference in New Issue