X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_notify.xml;h=f3f3269769bdee77fd56f301a63d81444c013df0;hb=84119b0353e5a11fecde843baa7c7bf83dccf617;hp=ae6792dd708185650163e9c2239edac8e8173b73;hpb=9270bff168ecc98d1761a32ca28b1f3906b093f2;p=elogind.git
diff --git a/man/sd_notify.xml b/man/sd_notify.xml
index ae6792dd7..f3f326976 100644
--- a/man/sd_notify.xml
+++ b/man/sd_notify.xml
@@ -268,6 +268,15 @@
systemd.service5
for details.
+ Note that sd_notify() notifications may be attributed to units correctly only if either
+ the sending process is still around at the time PID 1 processes the message, or if the sending process is
+ explicitly runtime-tracked by the service manager. The latter is the case if the service manager originally forked
+ off the process, i.e. on all processes that match NotifyAccess= or
+ NotifyAccess=. Conversely, if an auxiliary process of the unit sends an
+ sd_notify() message and immediately exits, the service manager might not be able to properly
+ attribute the message to the unit, and thus will ignore it, even if
+ NotifyAccess= is set for it.
+
sd_notifyf() is similar to
sd_notify() but takes a
printf()-like format string plus