From: Lucas Werkmeister Date: Tue, 16 Jul 2024 16:15:32 +0000 (+0200) Subject: man: Mention Type=oneshot timeout directive X-Git-Tag: v257-rc1~879 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c4aa0f1c6a78b35712fa6a7acf6d755d0c0bd86;p=thirdparty%2Fsystemd.git man: Mention Type=oneshot timeout directive Make the warning for oneshot services (where RuntimeMaxSec= has no effect) more actionable by pointing to the directive people can use instead to effectively limit their runtime. --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 58439dfa6ee..6667ac52402 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -727,8 +727,8 @@ Configures a maximum time for the service to run. If this is used and the service has been active for longer than the specified time it is terminated and put into a failure state. Note that this setting does not have any effect on Type=oneshot services, as they terminate immediately after - activation completed. Pass infinity (the default) to configure no runtime - limit. + activation completed (use TimeoutStartSec= to limit their activation). + Pass infinity (the default) to configure no runtime limit. If a service of Type=notify/Type=notify-reload sends EXTEND_TIMEOUT_USEC=…, this may cause the runtime to be extended beyond