From: Lennart Poettering Date: Thu, 15 May 2014 23:33:22 +0000 (+0200) Subject: man: clarify that the ExecReload= command should be synchronous X-Git-Tag: v213~138 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=33169701b0640d3629d4c36cf8c71dc26d2cb7e1;hp=9bdb98c59451ed090f8d35d470a54710f389ce71 man: clarify that the ExecReload= command should be synchronous http://lists.freedesktop.org/archives/systemd-devel/2014-May/019054.html --- diff --git a/man/systemd.service.xml b/man/systemd.service.xml index af32ccb87..364ad7d0c 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -519,6 +519,20 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} following: /bin/kill -HUP $MAINPID + + 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 + ExecReload= to a + command that no only triggers a + configuration reload of the daemon, + but also synchronously waits for it + complete.