]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/systemd.unit: document restart behavior on Upholds=
authorChristian Hesse <mail@eworm.de>
Fri, 7 Jul 2023 08:20:10 +0000 (10:20 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 7 Jul 2023 09:10:56 +0000 (10:10 +0100)
Behavior on constantly failing (or oneshot) unit was unclear. Let's
document it here.

man/systemd.unit.xml

index 059df6fc125957473c6079f1e6f58f688fe9abed..94a5a30f929d65de34ead42ba909eee6d465b907 100644 (file)
         has a one-time effect when this units started, a <varname>Upholds=</varname> dependency on it has a
         continuous effect, constantly restarting the unit if necessary. This is an alternative to the
         <varname>Restart=</varname> setting of service units, to ensure they are kept running whatever
-        happens.</para>
+        happens. The restart happens without delay, and usual per-unit rate-limit applies.</para>
 
         <para>When <varname>Upholds=b.service</varname> is used on <filename>a.service</filename>, this
         dependency will show as <varname>UpheldBy=a.service</varname> in the property listing of