diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 03cd14ceff..43c6435dcb 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -461,7 +461,9 @@ start-up failed, for example because any of the commands specified in ExecStart=, ExecStartPre= or ExecStartPost= failed (and weren't prefixed with -, see above) or timed out. Use ExecStopPost= to invoke commands when a - service failed to start up correctly and is shut down again. + service failed to start up correctly and is shut down again. Also note that, service restart requests are + implemented as stop operations followed by start operations. This means that ExecStop= and + ExecStopPost= are executed during a service restart operation. It is recommended to use this setting for commands that communicate with the service requesting clean termination. When the commands specified with this option are executed it should be assumed that the service is