diff options
author | WilliButz <WilliButz@users.noreply.github.com> | 2019-08-13 16:43:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-13 16:43:40 +0200 |
commit | 7a29431da9a3aa91d6e26517d5b354d1d1be7767 (patch) | |
tree | 56d45adffd8464d8e03c407e257728396e65cd5d | |
parent | 943c10325bbb8cc49fc17d08d1ce190606d44c33 (diff) | |
parent | 551230b7f66b625e2d7635935688da431d7edb8e (diff) | |
download | nixlib-7a29431da9a3aa91d6e26517d5b354d1d1be7767.tar nixlib-7a29431da9a3aa91d6e26517d5b354d1d1be7767.tar.gz nixlib-7a29431da9a3aa91d6e26517d5b354d1d1be7767.tar.bz2 nixlib-7a29431da9a3aa91d6e26517d5b354d1d1be7767.tar.lz nixlib-7a29431da9a3aa91d6e26517d5b354d1d1be7767.tar.xz nixlib-7a29431da9a3aa91d6e26517d5b354d1d1be7767.tar.zst nixlib-7a29431da9a3aa91d6e26517d5b354d1d1be7767.zip |
Merge pull request #66561 from Ma27/document-user-services-on-rebuild
nixos/doc: document that services defined with `systemd.users` aren't restarted by nixos-rebuild
-rw-r--r-- | nixos/doc/manual/installation/changing-config.xml | 7 | ||||
-rw-r--r-- | nixos/doc/manual/man-nixos-rebuild.xml | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/nixos/doc/manual/installation/changing-config.xml b/nixos/doc/manual/installation/changing-config.xml index b77d71389a9d..48193d986ab7 100644 --- a/nixos/doc/manual/installation/changing-config.xml +++ b/nixos/doc/manual/installation/changing-config.xml @@ -14,6 +14,13 @@ to build the new configuration, make it the default configuration for booting, and try to realise the configuration in the running system (e.g., by restarting system services). + <warning> + <para> + This command doesn't start/stop <link linkend="opt-systemd.user.services">user + services</link> automatically. <command>nixos-rebuild</command> only runs a + <literal>daemon-reload</literal> for each user with running user services. + </para> + </warning> </para> <warning> <para> diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml index b86ad8bfa8d3..4c20cfcdd7d2 100644 --- a/nixos/doc/manual/man-nixos-rebuild.xml +++ b/nixos/doc/manual/man-nixos-rebuild.xml @@ -130,7 +130,8 @@ NixOS module, you must run <command>nixos-rebuild</command> to make the changes take effect. It builds the new system in <filename>/nix/store</filename>, runs its activation script, and stop and - (re)starts any system services if needed. + (re)starts any system services if needed. Please note that user services need + to be started manually as they aren't detected by the activation script at the moment. </para> <para> This command has one required argument, which specifies the desired |