From e35d6f78dc797150451f5134833afa0ecdf4a241 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Oct 2012 17:57:20 -0400 Subject: Rename nix-worker to nix-daemon --- doc/manual/Makefile.am | 2 +- doc/manual/env-common.xml | 4 ++-- doc/manual/installation.xml | 10 +++++----- doc/manual/manual.xml | 2 +- doc/manual/nix-daemon.xml | 34 ++++++++++++++++++++++++++++++++++ doc/manual/nix-worker.xml | 35 ----------------------------------- doc/manual/release-notes.xml | 8 +++++++- 7 files changed, 50 insertions(+), 45 deletions(-) create mode 100644 doc/manual/nix-daemon.xml delete mode 100644 doc/manual/nix-worker.xml (limited to 'doc/manual') diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am index 42da3c8b0..eedc992a3 100644 --- a/doc/manual/Makefile.am +++ b/doc/manual/Makefile.am @@ -23,7 +23,7 @@ man1_MANS = nix-env.1 nix-build.1 nix-store.1 nix-instantiate.1 \ man5_MANS = nix.conf.5 -man8_MANS = nix-worker.8 +man8_MANS = nix-daemon.8 FIGURES = figures/user-environments.png diff --git a/doc/manual/env-common.xml b/doc/manual/env-common.xml index c4c0f9d2d..fcdd2c268 100644 --- a/doc/manual/env-common.xml +++ b/doc/manual/env-common.xml @@ -304,9 +304,9 @@ $ mount -o bind /mnt/otherdisk/nix /nix /var/run/nix/remote-stores. Note that if you’re building through the Nix daemon, the only setting for + linkend="sec-nix-daemon">Nix daemon, the only setting for this variable that matters is the one that the - nix-worker process uses. So if you want to + nix-daemon process uses. So if you want to change it, you have to restart the daemon. diff --git a/doc/manual/installation.xml b/doc/manual/installation.xml index bbcc057f1..fdab71fc0 100644 --- a/doc/manual/installation.xml +++ b/doc/manual/installation.xml @@ -412,11 +412,11 @@ $ chown -R root /nix/store /nix/var/nix -The Nix daemon should be +The Nix daemon should be started as follows (as root): -$ nix-worker --daemon +$ nix-daemon You’ll want to put that line somewhere in your system’s boot scripts. @@ -450,11 +450,11 @@ named anything. It should own the Nix store and database: $ chown -R nix /nix/store /nix/var/nix -and of course nix-worker --daemon should be started -under that user, e.g., +and of course nix-daemon should be started under +that user, e.g., -$ su - nix -c "exec /nix/bin/nix-worker --daemon" +$ su - nix -c "exec /nix/bin/nix-daemon" diff --git a/doc/manual/manual.xml b/doc/manual/manual.xml index ccff9423c..aa461d708 100644 --- a/doc/manual/manual.xml +++ b/doc/manual/manual.xml @@ -59,7 +59,7 @@ - +
diff --git a/doc/manual/nix-daemon.xml b/doc/manual/nix-daemon.xml new file mode 100644 index 000000000..c68605fd6 --- /dev/null +++ b/doc/manual/nix-daemon.xml @@ -0,0 +1,34 @@ + + + + nix-daemon + 8 + Nix + + + + + nix-daemon + Nix multi-user support daemon + + + + + nix-daemon + + + + +Description + +The Nix daemon is necessary in multi-user Nix installations. It +performs build actions and other operations on the Nix store on behalf +of unprivileged users. + + + + + diff --git a/doc/manual/nix-worker.xml b/doc/manual/nix-worker.xml deleted file mode 100644 index 5ae9d59bd..000000000 --- a/doc/manual/nix-worker.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - nix-worker - 8 - Nix - - - - - nix-worker - Nix multi-user support daemon - - - - - nix-worker - - - - - -Description - -The Nix daemon is necessary in multi-user Nix installations. It -performs build actions and other operations on the Nix store on behalf -of unprivileged users. - - - - - diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 43d5080af..8d0840d06 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -10,7 +10,7 @@
Release 1.2 (TBA) -This release has the following improvements: +This release has the following improvements and changes: @@ -47,6 +47,12 @@ $ mount -o remount,ro,bind /nix/store modifications. + + The command nix-worker has been renamed + to nix-daemon. Support for running the Nix + worker in “slave” mode has been removed. + +
-- cgit v1.2.3