supabase / postgres

Unmodified Postgres with some useful plugins
https://supabase.com
PostgreSQL License
1.39k stars 139 forks source link

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

Closed burmecia closed 2 months ago

burmecia commented 2 months ago

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