about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2024-02-10 22:25:24 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2024-02-10 22:25:24 +0200
commitfd5664871fb33e2a9f8e0b023e568958aa959ad8 (patch)
tree886caf001b94ceefab180c7bb2586a8416bc6e4a /nixos/lib
parent74eeb75af1ea94c2f639a843172ee2fc82f5cf54 (diff)
review
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/systemd-unit-options.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/nixos/lib/systemd-unit-options.nix b/nixos/lib/systemd-unit-options.nix
index 9a0fedeb0b2d2..df05d165d9e85 100644
--- a/nixos/lib/systemd-unit-options.nix
+++ b/nixos/lib/systemd-unit-options.nix
@@ -160,13 +160,7 @@ in rec {
         default = [];
         type = types.listOf unitNameType;
         description = lib.mdDoc ''
-          Configures dependencies similar to Wants=, but as long as this unit is up, all units
-          listed in Upholds= are started whenever found to be inactive or failed, and no job is
-          queued for them. While a Wants= dependency on another unit has a one-time effect when
-          this units started, a Upholds= dependency on it has a continuous effect, constantly
-          restarting the unit if necessary. This is an alternative to the Restart= setting of
-          service units, to ensure they are kept running whatever happens. The restart happens
-          without delay, and usual per-unit rate-limit applies.
+          Keeps the specified running while this unit is running. A continuous version of `wants`.
         '';
       };