civodul pushed a commit to branch master
in repository shepherd.

commit 37e2e3b4d749c3eb28c4d8552875087387212407
Author: Ludovic Courtès <[email protected]>
Date:   Fri Nov 16 17:54:27 2018 +0100

    doc: Provide complete socket file name under /run/user.
    
    Reported by Danny Milosavljevic <[email protected]>.
    
    * doc/shepherd.texi (Invoking shepherd): Add "/socket" to "/run/user/…".
---
 doc/shepherd.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/shepherd.texi b/doc/shepherd.texi
index 3fc1cfd..143a74f 100644
--- a/doc/shepherd.texi
+++ b/doc/shepherd.texi
@@ -437,7 +437,7 @@ to the standard output if @var{file} is omitted.
 Receive further commands on the socket special file @var{file}.  If this
 option is not specified, @file{@var{localstatedir}/run/shepherd/socket} is
 taken when running as @code{root}; when running as an unprivileged
-user, @command{shepherd} listens to @file{/run/user/@var{uid}/shepherd},
+user, @command{shepherd} listens to @file{/run/user/@var{uid}/shepherd/socket},
 where @var{uid} is the user's numerical ID@footnote{On GNU/Linux, the
 @file{/run/user/@var{uid}} directory is typically created by elogind or by
 systemd, which are available in most distributions.}, or to

Reply via email to