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:
@@ -104,9 +104,9 @@ class system_api:
|
||||
@async
|
||||
def restartMw(self):
|
||||
sleep(0.3)
|
||||
cmd = mw.getRunDir() + '/scripts/init.d/mw restart'
|
||||
# cmd = mw.getRunDir() + '/scripts/init.d/mw restart'
|
||||
# print cmd
|
||||
mw.execShell(cmd)
|
||||
mw.execShell('service mw restart')
|
||||
|
||||
@async
|
||||
def restartServer(self):
|
||||
|
||||
Reference in New Issue
Block a user