Update index.py

This commit is contained in:
Mr Chen
2024-10-02 00:11:27 +08:00
parent e706ff17c1
commit 3f7bce197f
+1 -1
View File
@@ -208,7 +208,7 @@ def initReplace():
systemServiceTpl = getPluginDir() + '/init.d/pgadmin.service.tpl'
service_path = mw.getServerDir()
content = mw.readFile(systemServiceTpl)
content = content.replace('{$APP_PATH}', service_path)
content = content.replace('{$SERVER_PATH}', service_path)
mw.writeFile(systemService, content)
mw.execShell('systemctl daemon-reload')