diff --git a/plugins/pgadmin/index.py b/plugins/pgadmin/index.py index 59b68be34..a89257707 100755 --- a/plugins/pgadmin/index.py +++ b/plugins/pgadmin/index.py @@ -210,7 +210,7 @@ def initReplace(): service_path = mw.getServerDir() content = mw.readFile(systemServiceTpl) content = content.replace('{$SERVER_PATH}', service_path) - mw.writeFile(systemService, se_content) + mw.writeFile(systemService, content) mw.execShell('systemctl daemon-reload') def start():