nixos/doc: document that services defined with systemd.users
aren't restarted by nixos-rebuild
This commit is contained in:
parent
86d143f58c
commit
551230b7f6
|
@ -14,6 +14,13 @@
|
||||||
to build the new configuration, make it the default configuration for
|
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
|
booting, and try to realise the configuration in the running system (e.g., by
|
||||||
restarting system services).
|
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>
|
</para>
|
||||||
<warning>
|
<warning>
|
||||||
<para>
|
<para>
|
||||||
|
|
|
@ -101,7 +101,8 @@
|
||||||
NixOS module, you must run <command>nixos-rebuild</command> to make the
|
NixOS module, you must run <command>nixos-rebuild</command> to make the
|
||||||
changes take effect. It builds the new system in
|
changes take effect. It builds the new system in
|
||||||
<filename>/nix/store</filename>, runs its activation script, and stop and
|
<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>
|
||||||
<para>
|
<para>
|
||||||
This command has one required argument, which specifies the desired
|
This command has one required argument, which specifies the desired
|
||||||
|
|
Loading…
Reference in a new issue