Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: postgresql service initdb #794

Merged
merged 1 commit into from
Oct 12, 2024
Merged

fix: postgresql service initdb #794

merged 1 commit into from
Oct 12, 2024

Conversation

fesplugas
Copy link
Contributor

@fesplugas fesplugas commented Oct 16, 2023

--pgdata/-D option is missing and without it database cannot be initialised.

Use `PGDATA` environment variable instead of `-D` to maintain
consistency with NixOS module.

Co-Authored-By: Michael Hoang <enzime@users.noreply.github.com>
@Enzime
Copy link
Collaborator

Enzime commented Nov 23, 2023

I've changed this branch to use PGDATA environment variable instead of -D flag to match the upstream NixOS module, but it's untested.

I'll merge this PR if someone could test this for me

@virusdave
Copy link
Contributor

This works for me. @tarc mind re-approving and merging?

@Enzime Enzime merged commit fd0e3ed into LnL7:master Oct 12, 2024
6 checks passed
@fesplugas fesplugas deleted the patch-1 branch October 26, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants