diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2018-08-13 19:42:47 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2018-08-14 13:38:18 +0200 |
commit | fc2bde6d7a362a7f75e19f3e445a9b0f528e1681 (patch) | |
tree | 856d124bb0b16a530a8c713d01a6c4fb98a892ae /nixos/doc/manual/release-notes | |
parent | 249ba3d3ed76e34f61ab7bb2024b013f3feaafb9 (diff) | |
download | nixlib-fc2bde6d7a362a7f75e19f3e445a9b0f528e1681.tar nixlib-fc2bde6d7a362a7f75e19f3e445a9b0f528e1681.tar.gz nixlib-fc2bde6d7a362a7f75e19f3e445a9b0f528e1681.tar.bz2 nixlib-fc2bde6d7a362a7f75e19f3e445a9b0f528e1681.tar.lz nixlib-fc2bde6d7a362a7f75e19f3e445a9b0f528e1681.tar.xz nixlib-fc2bde6d7a362a7f75e19f3e445a9b0f528e1681.tar.zst nixlib-fc2bde6d7a362a7f75e19f3e445a9b0f528e1681.zip |
nixos/switch-to-configuration: reload user units
When rebuilding you have to manually run `systemctl --user daemon-reload`. It gathers all authenticated users using `loginctl list-user` and runs `daemon-reload` for each of them. This is a first step towards a `nixos-rebuild` which is able to reload user units from systemd. The entire task is fairly hard, however I consider this patch usable as it allows to restart units without running `daemon-reload` for each authenticated user.
Diffstat (limited to 'nixos/doc/manual/release-notes')
-rw-r--r-- | nixos/doc/manual/release-notes/rl-1809.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-1809.xml b/nixos/doc/manual/release-notes/rl-1809.xml index d527984f5ef1..0cb4874a1a21 100644 --- a/nixos/doc/manual/release-notes/rl-1809.xml +++ b/nixos/doc/manual/release-notes/rl-1809.xml @@ -422,6 +422,13 @@ inherit (pkgs.nixos { The module option <option>nix.useSandbox</option> is now defaulted to <literal>true</literal>. </para> </listitem> + <listitem> + <para> + The config activation script of <literal>nixos-rebuild</literal> now + <link xlink:href="https://www.freedesktop.org/software/systemd/man/systemctl.html#Manager%20Lifecycle%20Commands">reloads</link> + all user units for each authenticated user. + </para> + </listitem> </itemizedlist> </section> </section> |