Update index.py

This commit is contained in:
Mr Chen
2024-05-05 23:36:34 +08:00
parent f893eec0e4
commit 9168af0a9c
+2 -2
View File
@@ -214,8 +214,8 @@ def initDreplace():
mg_key = getServerDir() + "/mongodb.key"
if not os.path.exists(mg_key):
mw.execShell("openssl rand -base64 741 >> "+mg_key)
mw.execShell("chmod 600 "+mg_key)
mw.execShell("openssl rand -base64 756 >> "+mg_key)
mw.execShell("chmod 400 "+mg_key)
file_tpl = getInitDTpl()
service_path = os.path.dirname(os.getcwd())