]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document StartLimitIntervalSec=infinity
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 14 Nov 2023 17:31:30 +0000 (18:31 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 15 Nov 2023 16:36:10 +0000 (17:36 +0100)
This seems to work as expected. In the issue, doubts were raised whether it
works fine with daemon-reload/daemon-reexec, and it seems to work fine.
(The property cannot be set via set-property, the dbus property is 'const'.
We could relax this, but that'd be a separate feature.)

Closes #29574.

man/systemd.unit.xml

index 2e9b87645feb00f80e903f1ed5bc45bd0a7ec1ae..301fe77ce9381d7977ec737d73a98026ea9a52bd 100644 (file)
         <para><replaceable>interval</replaceable> is a time span with the default unit of seconds, but other
         units may be specified, see
         <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
+        The special value <literal>infinity</literal> can be used to limit the total number of start
+        attempts, even if they happen at large time intervals.
         Defaults to <varname>DefaultStartLimitIntervalSec=</varname> in manager configuration file, and may
         be set to 0 to disable any kind of rate limiting. <replaceable>burst</replaceable> is a number and
         defaults to <varname>DefaultStartLimitBurst=</varname> in manager configuration file.</para>