Skip to content

Commit fedf2c5

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) (cherry picked from commit 3ddb795)
1 parent dd6b750 commit fedf2c5

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
@@ -570,11 +570,11 @@
570570
<varname>ExecStop=</varname> – commands specified with this setting are invoked when a service failed to start
571571
up correctly and is shut down again.</para>
572572

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

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

0 commit comments

Comments
 (0)