This commit is contained in:
Mr Chen
2024-10-02 00:39:56 +08:00
parent 3f7bce197f
commit c39d21b300
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -200,6 +200,8 @@ def initReplace():
setCfg('password', password)
mw.writeFile(pma_path, pass_cmd)
mw.execShell("python /www/server/pgadmin/run/lib/python3.10/site-packages/pgadmin4/setup.py add-user mw@gmail.com 123123")
# systemd
systemDir = mw.systemdCfgDir()
systemService = systemDir + '/pgadmin.service'