]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: rate limited services can be restartet from timer or socket
authorChristian Hesse <mail@eworm.de>
Tue, 23 Mar 2021 06:57:03 +0000 (07:57 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 23 Mar 2021 08:16:30 +0000 (09:16 +0100)
If rate limiting kicks in for Restart= logic it is still possible for a
timer or socket to restart the service.

man/systemd.unit.xml

index 20e52c566423f940cd2ffd6ea0cf78f2dddf6cad..42dcbac72ca3e19a4cb71ed9583158c18d0f6383 100644 (file)
         <varname>Restart=</varname> logic.</para>
 
         <para>Note that units which are configured for <varname>Restart=</varname>, and which reach the start
-        limit are not attempted to be restarted anymore; however, they may still be restarted manually at a
-        later point, after the <replaceable>interval</replaceable> has passed. From that point on, the
-        restart logic is activated again. <command>systemctl reset-failed</command> will cause the restart
-        rate counter for a service to be flushed, which is useful if the administrator wants to manually
-        start a unit and the start limit interferes with that. Rate-limiting is enforced after any unit
-        condition checks are executed, and hence unit activations with failing conditions do not count
-        towards the rate limit.</para>
+        limit are not attempted to be restarted anymore; however, they may still be restarted manually or
+        from a timer or socket at a later point, after the <replaceable>interval</replaceable> has passed.
+        From that point on, the restart logic is activated again. <command>systemctl reset-failed</command>
+        will cause the restart rate counter for a service to be flushed, which is useful if the administrator
+        wants to manually start a unit and the start limit interferes with that. Rate-limiting is enforced
+        after any unit condition checks are executed, and hence unit activations with failing conditions do
+        not count towards the rate limit.</para>
 
         <para>When a unit is unloaded due to the garbage collection logic (see above) its rate limit counters
         are flushed out too. This means that configuring start rate limiting for a unit that is not