about summary refs log tree commit diff
path: root/nixos/doc/manual/development/unit-handling.section.md
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2022-03-06 19:22:04 +0100
committerJanne Heß <janne@hess.ooo>2022-03-11 13:30:03 +0100
commitc96180c53fcd4f36a7163c3e59a2e6bcd9233f06 (patch)
tree847975eeeb0343c547d1390a2c2da4c2804ecd27 /nixos/doc/manual/development/unit-handling.section.md
parentacb535fb61930c657be9ae5eca221a47391c91e6 (diff)
nixos/switch-to-configuration: Ignore some unit keys
Some unit keys don't need to restart the service to make them effective.
Reduce the amount of service restarts by ignoring these keys
Diffstat (limited to 'nixos/doc/manual/development/unit-handling.section.md')
-rw-r--r--nixos/doc/manual/development/unit-handling.section.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/doc/manual/development/unit-handling.section.md b/nixos/doc/manual/development/unit-handling.section.md
index bd4fe9e670f5e..c51704ad0da44 100644
--- a/nixos/doc/manual/development/unit-handling.section.md
+++ b/nixos/doc/manual/development/unit-handling.section.md
@@ -17,7 +17,8 @@ checks:
   them and comparing their contents. If they are different but only
   `X-Reload-Triggers` in the `[Unit]` section is changed, **reload** the unit.
   The NixOS module system allows setting these triggers with the option
-  [systemd.services.\<name\>.reloadTriggers](#opt-systemd.services). If the
+  [systemd.services.\<name\>.reloadTriggers](#opt-systemd.services). There are
+  some additional keys in the `[Unit]` section that are ignored as well. If the
   unit files differ in any way, the following actions are performed:
 
   - `.path` and `.slice` units are ignored. There is no need to restart them