Update index.py

This commit is contained in:
midoks
2022-06-17 14:37:16 +08:00
parent 50a31dbaf3
commit d4de0fe8cb
+1 -1
View File
@@ -104,7 +104,7 @@ def initDreplace():
if os.path.exists(systemDir) and not os.path.exists(systemService):
se_content = mw.readFile(systemServiceTpl)
se_content = conf_content.replace('{$SERVER_PATH}', service_path)
se_content = se_content.replace('{$SERVER_PATH}', service_path)
mw.writeFile(systemService, se_content)
mw.execShell('systemctl daemon-reload')