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