aboutsummaryrefslogtreecommitdiff
path: root/src/nix/daemon.md
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-14 00:05:04 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-01-14 00:05:04 +0100
commit7a472a76d4dcbbd0eb7832c0bdcb120d32881e8b (patch)
treeae0c8e77b6b89239dea45b62918f0ba42c651f5c /src/nix/daemon.md
parent28ef6ebf914792f9e543e9778248f06e716a859d (diff)
Add 'nix daemon' command
Diffstat (limited to 'src/nix/daemon.md')
-rw-r--r--src/nix/daemon.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/nix/daemon.md b/src/nix/daemon.md
new file mode 100644
index 000000000..e97016a94
--- /dev/null
+++ b/src/nix/daemon.md
@@ -0,0 +1,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 performs build actions 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.
+
+)""