From: Mathieu Bridon Date: Wed, 13 Mar 2013 04:43:40 +0000 (+0800) Subject: man: Document the actual behaviour of ExecStopPost X-Git-Tag: v199~218 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3ae390ba020fd6c8bad9a6b384a6ff56c9fe5f5b;p=elogind.git 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. --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 8977873c1..b8b19b386 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -464,9 +464,12 @@ ExecStopPost= Additional commands that are executed after the service - was stopped using the commands - configured in - ExecStop=. This + was stopped. This includes cases where + the commands configured in + ExecStop= were used, + where the service doesn't have any + ExecStop= defined, or + where the service exited unexpectedly. This argument takes multiple command lines, following the same scheme as described for ExecStart. Use