Update index.py

This commit is contained in:
midoks 2022-08-11 00:03:07 +08:00
parent 57b83e654b
commit 24ca8cfde3
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ def initDreplace(version=''):
mw.execShell('systemctl daemon-reload')
if not mw.isAppleSystem():
mw.execShell('chown -R postgresql:postgresql ' + getServerDir())
mw.execShell('chown -R postgres:postgres ' + getServerDir())
initd_path = getServerDir() + '/init.d'
if not os.path.exists(initd_path):