mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -265,6 +265,8 @@ def initDreplace():
|
||||
loadLuaSiteFile()
|
||||
loadDebugLogFile()
|
||||
|
||||
if not mw.isAppleSystem():
|
||||
mw.execShell("chown -R www:www " + getServerDir())
|
||||
return 'ok'
|
||||
|
||||
|
||||
@@ -279,9 +281,6 @@ def start():
|
||||
import tool_task
|
||||
tool_task.createBgTask()
|
||||
|
||||
if not mw.isAppleSystem():
|
||||
mw.execShell("chown -R www:www " + getServerDir())
|
||||
|
||||
# issues:326
|
||||
luaRestart()
|
||||
return 'ok'
|
||||
|
||||
Reference in New Issue
Block a user