PromucFlow_constructor/deploy/docker/fs
Shrikant Sharat Kandula a638c47507
chore: Fix PATH getting reset by su (#34286)
The `PATH` env variable gets reset to it's original value by `su`,
because its a "secure" env variable, and is _never_ preserved across
user-switches.

Because of this, the Postgres commands like `initdb` are not found on
the `PATH`. This PR fixes this by setting the `PATH` in the command
passed to `su` itself, so that `initdb` can now be found.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Improved the initialization process for local Postgres data folder to
ensure compatibility with environment variables.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-17 18:53:38 +05:30
..
etc/supervisor feat: add ability to change application logs location (#31926) 2024-03-20 19:45:48 +05:30
opt chore: Fix PATH getting reset by su (#34286) 2024-06-17 18:53:38 +05:30
usr/lib/python3/dist-packages/supervisor chore: Fix blank lines in logs (#33515) 2024-05-16 16:53:42 +05:30
watchtower-hooks feat: Support encrypted backups and fix restoring to renamed databases (#29902) 2024-03-27 18:09:02 +05:30