Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(init) rework wait-for-db socket workaround
Use a temporary prefix directory for wait-for-db instead of removing problem files. For unclear reasons, versions of Kong that should include https://trac.nginx.org/nginx/ticket/753 are still leaving old socket files behind in the prefix after wait-for-db completes. Additional sockets in newer Kong versions result in a new variant of #295, preventing startup when using Postgres. Since we don't actually need anything wait-for-db writes to the prefix, we can write to a temporary prefix instead to avoid this class of issue entirely.
- Loading branch information