]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document how error propagation to path units works
authorLennart Poettering <lennart@poettering.net>
Thu, 16 Jan 2020 15:13:50 +0000 (16:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Jan 2020 09:08:13 +0000 (10:08 +0100)
Fixes: #14331
man/systemd.path.xml

index 39cca8cf514faf863112c2731f919d06d85e0423..f6fe3d83883eca518563535f522ed27c3d169503 100644 (file)
     limitations as inotify, and for example cannot be used to monitor
     files or directories changed by other machines on remote NFS file
     systems.</para>
+
+    <para>When a service unit triggered by a path unit terminates (regardless whether it exited successfully
+    or failed), monitored paths are checked immediately again, and the service accordingly restarted
+    instantly. As protection against busy looping in this trigger/start cycle, a start rate limit is enforced
+    on the service unit, see <varname>StartLimitIntervalSec=</varname> and
+    <varname>StartLimitBurst=</varname> in
+    <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>. Unlike
+    other service failures, the error condition that the start rate limit is hit is propagated from the
+    service unit to the path unit and causes the path unit to fail as well, thus ending the loop.</para>
   </refsect1>
 
   <refsect1>