mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
man: Document the actual behaviour of ExecStopPost
The documentation makes it sound like ExecStopPost is only run when stopping the service with `systemctl stop foo.service` However, that is not the case, as it also gets run when the service unexpectedly exists, crashes, or gets SIGKILLed.
This commit is contained in:
parent
702f64b93c
commit
3ae390ba02
@ -464,9 +464,12 @@
|
||||
<term><varname>ExecStopPost=</varname></term>
|
||||
<listitem><para>Additional commands
|
||||
that are executed after the service
|
||||
was stopped using the commands
|
||||
configured in
|
||||
<varname>ExecStop=</varname>. This
|
||||
was stopped. This includes cases where
|
||||
the commands configured in
|
||||
<varname>ExecStop=</varname> were used,
|
||||
where the service doesn't have any
|
||||
<varname>ExecStop=</varname> defined, or
|
||||
where the service exited unexpectedly. This
|
||||
argument takes multiple command lines,
|
||||
following the same scheme as described
|
||||
for <varname>ExecStart</varname>. Use
|
||||
|
Loading…
x
Reference in New Issue
Block a user