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