aboutsummaryrefslogtreecommitdiff
path: root/src/nix/daemon.md
blob: d5cdadf08e1f12afab712287ad244d2485aa02dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
R""(

# Example

* Run the daemon in the foreground:

  ```console
  # nix daemon
  ```

# Description

This command runs the Nix daemon, which is a required component in
multi-user Nix installations. It runs build tasks and other
operations on the Nix store on behalf of non-root users. Usually you
don't run the daemon directly; instead it's managed by a service
management framework such as `systemd`.

Note that this daemon does not fork into the background.

)""