Update index.py

This commit is contained in:
Mr Chen
2024-10-01 15:11:01 +08:00
parent d4989bb762
commit 62050fcff1
-1
View File
@@ -209,7 +209,6 @@ def initReplace():
systemServiceTpl = getPluginDir() + '/init.d/pgadmin.service.tpl'
service_path = mw.getServerDir()
content = mw.readFile(systemServiceTpl)
content = content.replace('{$VERSION}', version)
content = content.replace('{$SERVER_PATH}', service_path)
mw.writeFile(systemService, se_content)
mw.execShell('systemctl daemon-reload')