diff options
author | Lucas Werkmeister <mail@lucaswerkmeister.de> | 2024-07-16 18:15:32 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-07-19 09:39:51 +0200 |
commit | 8c4aa0f1c6a78b35712fa6a7acf6d755d0c0bd86 (patch) | |
tree | 552dc94206586e2b647a0bef49148321a725ccd3 /man/systemd.service.xml | |
parent | Merge pull request #33773 from kovalev0/fix_aquarius_cmp_ns483_keyb_and_sensor (diff) | |
download | systemd-8c4aa0f1c6a78b35712fa6a7acf6d755d0c0bd86.tar.xz systemd-8c4aa0f1c6a78b35712fa6a7acf6d755d0c0bd86.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | man/systemd.service.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 58439dfa6e..6667ac5240 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -727,8 +727,8 @@ <listitem><para>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 <varname>Type=oneshot</varname> services, as they terminate immediately after - activation completed. Pass <literal>infinity</literal> (the default) to configure no runtime - limit.</para> + activation completed (use <varname>TimeoutStartSec=</varname> to limit their activation). + Pass <literal>infinity</literal> (the default) to configure no runtime limit.</para> <para>If a service of <varname>Type=notify</varname>/<varname>Type=notify-reload</varname> sends <literal>EXTEND_TIMEOUT_USEC=…</literal>, this may cause the runtime to be extended beyond |