]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
doc: indicate Type=oneshot also detects invocation failures
authorChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Mon, 20 Oct 2025 01:30:58 +0000 (03:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 1 Nov 2025 21:48:28 +0000 (22:48 +0100)
Type `simple` explicitly mentions that invocation failures like a missing binary
or `User=` name won’t get detected – whereas type `exec` mentions that it does.

Type `oneshot` refers to being similar to `simple`, which could lead one to
assume it doesn’t detect such invocation failures either – it seems however it
does.

Indicate this my changing its wording to be similar to `exec`.

Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
man/systemd.service.xml

index 84dd17920a120cf4b5049d94223886e2bf1e01bb..8c00a093f87296ab08c694cf4eed479daf6151ce 100644 (file)
             identify the main process of the service. The manager will proceed with starting follow-up units
             after the parent process exits.</para></listitem>
 
-            <listitem><para>Behavior of <option>oneshot</option> is similar to <option>simple</option>;
+            <listitem><para>Behavior of <option>oneshot</option> is similar to <option>exec</option>;
             however, the service manager will consider the unit up after the main process exits. It will then
             start follow-up units. <varname>RemainAfterExit=</varname> is particularly useful for this type
             of service. <varname>Type=</varname><option>oneshot</option> is the implied default if neither