mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update tool_migrate.py
This commit is contained in:
@@ -186,6 +186,8 @@ def migrateSiteHotLogs(site_name, query_date):
|
||||
|
||||
if not mw.isAppleSystem():
|
||||
mw.execShell("chown -R www:www " + getServerDir())
|
||||
|
||||
mw.opWeb('restart')
|
||||
return mw.returnMsg(True, "{} logs migrate ok".format(site_name))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user