summaryrefslogtreecommitdiff
path: root/sd_daemon/notify.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-12-19 13:45:53 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-19 13:45:53 -0500
commita04b84778871d77e539a675acbff05f7220e2f5e (patch)
tree4b6c54cdf6d6d5b3c3ef084f604615b2dc2b9c47 /sd_daemon/notify.go
parent4a3a5525172afd69bc674a2a344065cd9e9a5888 (diff)
Improve documentation.
Diffstat (limited to 'sd_daemon/notify.go')
-rw-r--r--sd_daemon/notify.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/sd_daemon/notify.go b/sd_daemon/notify.go
index 76ffe81..1d72cc3 100644
--- a/sd_daemon/notify.go
+++ b/sd_daemon/notify.go
@@ -41,14 +41,15 @@ import (
//
// It is possible to include a set of file descriptors with the
// message. This is useful for keeping files open across restarts, as
-// it enables the service manager will pass those files to the new
+// it enables the service manager to pass those files to the new
// process when it is restarted (see ListenFds). Note: The service
// manager will only actually store the file descriptors if you
-// include "FDSTORE=1" in the state.
+// include "FDSTORE=1" in the state (again, see sd_notify(3) for
+// well-known variable assignments).
//
// If the service manager is not listening for notifications from this
-// process (or this has already been called with unsetEnv=true), then
-// ErrDisabled is returned. If the service manager appears to be
+// process tree (or this has already been called with unsetEnv=true),
+// then ErrDisabled is returned. If the service manager appears to be
// listening, but there is an error sending the message, then that
// error is returned. It is generally recommended that you ignore the
// return value: if there is an error, this is function no-op; meaning