mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update index.py
This commit is contained in:
@@ -175,7 +175,6 @@ def makeInitRsaKey(version=''):
|
||||
rdata = mw.execShell(
|
||||
'cd ' + datadir + ' && openssl rsa -in mysql.pem -pubout -out mysql.pub')
|
||||
# print(rdata)
|
||||
|
||||
if not mw.isAppleSystem():
|
||||
mw.execShell('cd ' + datadir + ' && chmod 400 mysql.pem')
|
||||
mw.execShell('cd ' + datadir + ' && chmod 444 mysql.pub')
|
||||
|
||||
Reference in New Issue
Block a user