mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update system_api.py
This commit is contained in:
@@ -103,7 +103,7 @@ class system_api:
|
|||||||
|
|
||||||
@async
|
@async
|
||||||
def restartMw(self):
|
def restartMw(self):
|
||||||
sleep(1)
|
sleep(0.3)
|
||||||
cmd = mw.getRunDir() + '/scripts/init.d/mw restart'
|
cmd = mw.getRunDir() + '/scripts/init.d/mw restart'
|
||||||
# print cmd
|
# print cmd
|
||||||
mw.execShell(cmd)
|
mw.execShell(cmd)
|
||||||
|
|||||||
Reference in New Issue
Block a user