Files
lix/doc/manual/rl-next/darwin-daemon-client-pid.md
T
2025-02-02 22:27:13 -08:00

13 lines
477 B
Markdown

---
synopsis: "Fetch peer PID for daemon connections on macOS"
issues: [fj#640]
cls: [2453]
category: Fixes
credits: [lilyball]
---
`nix-daemon` will now fetch the peer PID for connections on macOS, to match behavior with Linux.
Besides showing up in the log output line, If `nix-daemon` is given an argument (such as `--daemon`)
that argument will be overwritten with the peer PID for the forked process that handles the connection,
which can be used for debugging purposes.