summary refs log tree commit diff
path: root/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2021-12-15 15:16:58 +0000
committerJanne Heß <janne@hess.ooo>2022-01-17 17:57:23 +0100
commit2cf157c781ef0b711ee70157f3fb11d9a95877fb (patch)
tree8ae619833f0a5247e66a46f11cee127944680941 /nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
parent483aec3fe0afffa1d43b45c28d947e46394e7562 (diff)
downloadnixpkgs-2cf157c781ef0b711ee70157f3fb11d9a95877fb.tar
nixpkgs-2cf157c781ef0b711ee70157f3fb11d9a95877fb.tar.gz
nixpkgs-2cf157c781ef0b711ee70157f3fb11d9a95877fb.tar.bz2
nixpkgs-2cf157c781ef0b711ee70157f3fb11d9a95877fb.tar.lz
nixpkgs-2cf157c781ef0b711ee70157f3fb11d9a95877fb.tar.xz
nixpkgs-2cf157c781ef0b711ee70157f3fb11d9a95877fb.tar.zst
nixpkgs-2cf157c781ef0b711ee70157f3fb11d9a95877fb.zip
nixos/switch-to-configuration: Rework activation script restarts
This removes `/run/nixos/activation-reload-list` (which we will need in
the future when reworking the reload logic) and makes
`/run/nixos/activation-restart-list` honor `restartIfChanged` and
`reloadIfChanged`. This way activation scripts don't have to bother with
choosing between reloading and restarting.
Diffstat (limited to 'nixos/doc/manual/from_md/release-notes/rl-2205.section.xml')
-rw-r--r--nixos/doc/manual/from_md/release-notes/rl-2205.section.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
index f8fbe6ccd2f..698073c6dbc 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
@@ -377,6 +377,16 @@
           include serif fonts.
         </para>
       </listitem>
+      <listitem>
+        <para>
+          The interface that allows activation scripts to restart units
+          has been reworked. Restarting and reloading is now done by a
+          single file
+          <literal>/run/nixos/activation-restart-list</literal> that
+          honors <literal>restartIfChanged</literal> and
+          <literal>reloadIfChanged</literal> of the units.
+        </para>
+      </listitem>
     </itemizedlist>
   </section>
   <section xml:id="sec-release-22.05-notable-changes">