From 24ca8cfde3d3be21471c9f3af1cedf2c601b6816 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 11 Aug 2022 00:03:07 +0800 Subject: [PATCH] Update index.py --- plugins/postgresql/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/postgresql/index.py b/plugins/postgresql/index.py index 5405138b8..2f941bc5d 100755 --- a/plugins/postgresql/index.py +++ b/plugins/postgresql/index.py @@ -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):