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.
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