|
Zbigniew Jędrzejewski-Szmek |
7f93bc |
From 94dde9f7059c2a0b3710e77379db6f9d8281b6ec Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
From: Lennart Poettering <lennart@poettering.net>
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
Date: Fri, 16 May 2014 01:33:22 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
Subject: [PATCH] man: clarify that the ExecReload= command should be
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
synchronous
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
http://lists.freedesktop.org/archives/systemd-devel/2014-May/019054.html
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
(cherry picked from commit 33169701b0640d3629d4c36cf8c71dc26d2cb7e1)
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
(cherry picked from commit e3f71240733a153605a68e521ef5892e3cdf88f7)
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
man/systemd.service.xml | 14 ++++++++++++++
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
1 file changed, 14 insertions(+)
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
|
|
Zbigniew Jędrzejewski-Szmek |
1cc3df |
index 50b19a8d5f..f549e89ee0 100644
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
--- a/man/systemd.service.xml
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+++ b/man/systemd.service.xml
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
@@ -519,6 +519,20 @@ ExecStart=/bin/echo $ONE $TWO ${TWO}</programlisting>
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
following:</para>
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
<programlisting>/bin/kill -HUP $MAINPID</programlisting>
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ <para>Note however that reloading a
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ daemon by sending a signal (as with
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ the example line above) is usually not
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ a good choice, because this is an
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ asynchronous operation and hence not
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ suitable to order reloads of multiple
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ services against each other. It is
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ strongly recommended to set
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ <varname>ExecReload=</varname> to a
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ command that no only triggers a
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ configuration reload of the daemon,
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ but also synchronously waits for it
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
+ complete.</para>
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
</listitem>
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
</varlistentry>
|
|
Zbigniew Jędrzejewski-Szmek |
a59965 |
|