Skip to content

fix: add HOME env var to Supervisord managed postgres #1182

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

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

burmecia
Copy link
Member

@burmecia burmecia commented Sep 4, 2024

What kind of change does this PR introduce?

This PR is to add HOME env var definition to Supervisord managed postgres process.

What is the current behavior?

Currently the HOME env var isn't defined for Supervisord managed postgres, so it defaults to /root. This caused permission denied issue when Wrappers is trying to save downloaded wasm file to $HOME/.cache folder.

What is the new behavior?

Define HOME env var to /var/lib/postgresql for Supervisord managed postgres process.

Additional context

N/A

@burmecia burmecia requested a review from a team as a code owner September 4, 2024 01:53
@burmecia burmecia added the bug Something isn't working label Sep 4, 2024
@burmecia burmecia merged commit f5543cd into develop Sep 4, 2024
8 checks passed
@burmecia burmecia deleted the bo/fix/home-env-var branch September 4, 2024 02:42
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants