Skip to content

Commit 3ddb795

Browse files
poetteringbluca
authored andcommitted
man: tone down claims on processes having exited already in ExecStop=
Processes can easily survive the first kill operation we execute, hence we shouldn't make strong claims about them having exited already. Let's just say "likely" hence. Fixes: #15032 (cherry picked from commit ac804bc) (cherry picked from commit 307a633) (cherry picked from commit b38386a) (cherry picked from commit e23cbec)
1 parent 51d8bd3 commit 3ddb795

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

man/systemd.service.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -612,11 +612,11 @@
612612
<varname>ExecStop=</varname> – commands specified with this setting are invoked when a service failed to start
613613
up correctly and is shut down again.</para>
614614

615-
<para>It is recommended to use this setting for clean-up operations that shall be executed even when the
616-
service failed to start up correctly. Commands configured with this setting need to be able to operate even if
617-
the service failed starting up half-way and left incompletely initialized data around. As the service's
618-
processes have been terminated already when the commands specified with this setting are executed they should
619-
not attempt to communicate with them.</para>
615+
<para>It is recommended to use this setting for clean-up operations that shall be executed even when
616+
the service failed to start up correctly. Commands configured with this setting need to be able to
617+
operate even if the service failed starting up half-way and left incompletely initialized data
618+
around. As the service's processes have likely exited already when the commands specified with this
619+
setting are executed they should not attempt to communicate with them.</para>
620620

621621
<para>Note that all commands that are configured with this setting are invoked with the result code of the
622622
service, as well as the main process' exit code and status, set in the <varname>$SERVICE_RESULT</varname>,

0 commit comments

Comments
 (0)