Skip to content

Commit 5f7a7a9

Browse files
fix: error during mfbase.init if postgresql data_dir modified (#255)
Close: #254
1 parent bacbbf7 commit 5f7a7a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adm/mfxxx.init.custom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if test "${MFBASE_POSTGRESQL_FLAG}" = "1"; then
4848
rm -f "/tmp/initdb_pwfile.$$"
4949

5050
echo "include '${MFMODULE_RUNTIME_HOME}/tmp/config_auto/postgresql.conf'" >>${MFBASE_POSTGRESQL_DATA_DIR}/postgresql.conf
51-
PG_HBA="${MFMODULE_RUNTIME_HOME}/var/pgsql/pg_hba.conf"
51+
PG_HBA="${MFBASE_POSTGRESQL_DATA_DIR}/pg_hba.conf"
5252
cat >${PG_HBA} <<EOF
5353
local all all trust
5454
host sameuser all 0.0.0.0/0 md5"

0 commit comments

Comments
 (0)