about summary refs log tree commit diff
path: root/src/nix-worker/help.txt
blob: b4583cb7e4958df6c88b1d78d5ec9c98a053a540 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
Usage: nix-worker [OPTIONS...] [--daemon | --slave]

`nix-worker' is a helper program used to implement secure, multi-user
Nix stores.  In `--daemon' mode, it goes into the background and waits
for incoming connections on a Unix domain socket, and forks a process
for each connection to perform the Nix store operations requested by
the caller.  In `--slave' mode, `nix-worker' is called directly, and
the caller and the worker communicate with each other over
stdin/stdout.  In this mode, the `nix-worker' program should have
appropriate setuid privileges.