yukkop 4204d68eed fix(db-tool): prevent fd leak from logger to long-running daemons
The hectic logger opens fd 3 as a dup of stderr. Child processes inherit
this fd, and daemonized PostgreSQL/PostgREST keeping it open prevents the
terminal from returning to the prompt after the spawning script exits.

- Add with_closed_fds helper that runs commands in a subshell with fds
  3-9 redirected to /dev/null
- Inline the helper into both database and postgres-init builds
- Wrap pg_ctl start and postgrest with the helper
2026-05-03 03:14:15 +00:00
2026-04-14 08:43:56 +00:00
2026-04-26 22:22:15 +00:00
2026-04-27 12:58:36 +00:00
2026-01-04 20:40:43 +00:00
2026-05-02 15:31:26 +00:00
2025-04-17 06:22:21 +03:00
2026-04-26 22:22:15 +00:00
Description
No description provided
1.7 MiB
Languages
C 32.7%
Shell 30.4%
Nix 22.5%
PLpgSQL 5.2%
Rust 4.2%
Other 4.9%