|
|
|
@ -203,7 +203,8 @@ def initReplace(): |
|
|
|
|
judge_file = getServerDir()+'/data/pgadmin4/pgadmin4.db' |
|
|
|
|
if not os.path.exists(judge_file): |
|
|
|
|
pg_init_bash = getPluginDir()+'/pg_init.sh' |
|
|
|
|
mw.execShell("bash "+pg_init_bash) |
|
|
|
|
t = mw.execShell("bash "+pg_init_bash) |
|
|
|
|
print(t) |
|
|
|
|
|
|
|
|
|
# systemd |
|
|
|
|
systemDir = mw.systemdCfgDir() |
|
|
|
|