diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-06-19T03·01-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-06-19T03·01-0400 |
commit | 2f3f413e91620d2314be59870f4bd67292f7d2de (patch) | |
tree | f2c9fce2695e56473662ee579c75f8d57d7cf779 /build.nix | |
parent | 02fb6323e06502e410dd5d5f8fe10589a7c938d4 (diff) |
Support socket-based, on-demand activation of the Nix daemon with systemd
Systemd can start the Nix daemon on demand when the Nix daemon socket is first accessed. This is signalled through the LISTEN_FDS environment variable, so all we need to do is check for that and then use file descriptor 3 as the listen socket instead of creating one ourselves.
Diffstat (limited to 'build.nix')
0 files changed, 0 insertions, 0 deletions