mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
man: clarify that the ExecReload= command should be synchronous
http://lists.freedesktop.org/archives/systemd-devel/2014-May/019054.html
This commit is contained in:
parent
9bdb98c594
commit
33169701b0
Notes:
Lennart Poettering
2014-05-19 02:00:29 +09:00
Backport: documentation
@ -519,6 +519,20 @@ ExecStart=/bin/echo $ONE $TWO ${TWO}</programlisting>
|
||||
following:</para>
|
||||
|
||||
<programlisting>/bin/kill -HUP $MAINPID</programlisting>
|
||||
|
||||
<para>Note however that reloading a
|
||||
daemon by sending a signal (as with
|
||||
the example line above) is usually not
|
||||
a good choice, because this is an
|
||||
asynchronous operation and hence not
|
||||
suitable to order reloads of multiple
|
||||
services against each other. It is
|
||||
strongly recommended to set
|
||||
<varname>ExecReload=</varname> to a
|
||||
command that no only triggers a
|
||||
configuration reload of the daemon,
|
||||
but also synchronously waits for it
|
||||
complete.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user