4 ms·
Does Nix understand network namespacing? Or would 2 postgres instances clash over tcp listen ports? I get you could configure different ports, or virtual inte
by tyingq 5y ago
Does Nix understand network namespacing? Or would 2 postgres instances clash over tcp listen ports?
I get you could configure different ports, or virtual interfaces, but it sounds like either of those would be outside of the nix tooling.
- wyager 5y agoI don't think it would be possible to do this in an OS-agnostic way. LXC and jails are too different, and I'm not even sure what the option would be in macOS.
- ratorx 5y agoI don’t think NixOS (where service configuration would live) is system-agnostic. It relies heavily on systemd already.
- xxpor 5y agoYou would have to deal with that yourself. But it's typically just a variable in the service definition, so it's very easy to override.