mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 11:55:23 +03:00
parent
78a263f432
commit
8adf53582c
@ -461,7 +461,9 @@
|
|||||||
start-up failed, for example because any of the commands specified in <varname>ExecStart=</varname>,
|
start-up failed, for example because any of the commands specified in <varname>ExecStart=</varname>,
|
||||||
<varname>ExecStartPre=</varname> or <varname>ExecStartPost=</varname> failed (and weren't prefixed with
|
<varname>ExecStartPre=</varname> or <varname>ExecStartPost=</varname> failed (and weren't prefixed with
|
||||||
<literal>-</literal>, see above) or timed out. Use <varname>ExecStopPost=</varname> to invoke commands when a
|
<literal>-</literal>, see above) or timed out. Use <varname>ExecStopPost=</varname> to invoke commands when a
|
||||||
service failed to start up correctly and is shut down again.</para>
|
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 <varname>ExecStop=</varname> and
|
||||||
|
<varname>ExecStopPost=</varname> are executed during a service restart operation.</para>
|
||||||
|
|
||||||
<para>It is recommended to use this setting for commands that communicate with the service requesting clean
|
<para>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
|
termination. When the commands specified with this option are executed it should be assumed that the service is
|
||||||
|
Loading…
Reference in New Issue
Block a user