mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update index.py
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user