Update index.py

This commit is contained in:
midoks
2023-02-28 01:57:19 +08:00
parent f6d008e0b6
commit b3970326cd
+2 -3
View File
@@ -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'