Skip to content

Commit

Permalink
fix: error during mfbase.init if postgresql data_dir modified (backport
Browse files Browse the repository at this point in the history
#255) (#256)

This is an automatic backport of pull request #255 done by [Mergify](https://mergify.com).


---


<details>
<summary>Mergify commands and options</summary>

<br />

More conditions and actions can be found in the [documentation](https://docs.mergify.com/).

You can also trigger Mergify actions by commenting on this pull request:

- `@Mergifyio refresh` will re-evaluate the rules
- `@Mergifyio rebase` will rebase this PR on its base branch
- `@Mergifyio update` will merge the base branch into this PR
- `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch

Additionally, on Mergify [dashboard](https://dashboard.mergify.com) you can:

- look at your merge queues
- generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com
</details>
  • Loading branch information
mergify[bot] authored Dec 14, 2023
1 parent 4c01397 commit 68e7cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm/mfxxx.init.custom
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if test "${MFBASE_POSTGRESQL_FLAG}" = "1"; then
rm -f "/tmp/initdb_pwfile.$$"

echo "include '${MFMODULE_RUNTIME_HOME}/tmp/config_auto/postgresql.conf'" >>${MFBASE_POSTGRESQL_DATA_DIR}/postgresql.conf
PG_HBA="${MFMODULE_RUNTIME_HOME}/var/pgsql/pg_hba.conf"
PG_HBA="${MFBASE_POSTGRESQL_DATA_DIR}/pg_hba.conf"
cat >${PG_HBA} <<EOF
local all all trust
host sameuser all 0.0.0.0/0 md5"
Expand Down

0 comments on commit 68e7cf2

Please sign in to comment.