Update index.py

This commit is contained in:
midoks
2022-09-28 19:12:50 +08:00
parent 1b4582574c
commit 3a10aa7809
+1 -1
View File
@@ -112,7 +112,7 @@ class App:
# systemd
systemDir = mw.systemdCfgDir()
systemService = systemDir + '/imail.service'
systemServiceTpl = getPluginDir() + '/init.d/imail.service.tpl'
systemServiceTpl = self.getPluginDir() + '/init.d/imail.service.tpl'
if os.path.exists(systemDir) and not os.path.exists(systemService):
service_path = mw.getServerDir()
se_content = mw.readFile(systemServiceTpl)