summaryrefslogtreecommitdiff
path: root/sd_daemon/notify.go
diff options
context:
space:
mode:
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