guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] 05/10: doc: Update user services example.


From: Ludovic Courtès
Subject: [shepherd] 05/10: doc: Update user services example.
Date: Thu, 27 Apr 2023 10:16:36 -0400 (EDT)

civodul pushed a commit to branch master
in repository shepherd.

commit 216488f2a7182dfd7efa980f5dc296fc268a3c15
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Apr 27 11:38:39 2023 +0200

    doc: Update user services example.
    
    * doc/shepherd.texi (Managing User Services): Strip comment.
    Pass #:documentation, not #:docstring.
---
 doc/shepherd.texi | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/doc/shepherd.texi b/doc/shepherd.texi
index 4e10ae4..99efe56 100644
--- a/doc/shepherd.texi
+++ b/doc/shepherd.texi
@@ -1500,21 +1500,17 @@ Then, individual user services can be put in
 @code{$XDG_CONFIG_HOME/shepherd/init.d/}, e.g., for @command{ssh-agent}.
 
 @lisp
-;;; Commentary:
-;;;
-;;; Add to your ~/.bash_profile:
-;;;
-;;; SSH_AUTH_SOCK=$@{XDG_RUNTIME_DIR-$HOME/.cache@}/ssh-agent/socket
-;;; export SSH_AUTH_SOCK
-;;;
-;;; Code:
+;; Add to your ~/.bash_profile:
+;;
+;; SSH_AUTH_SOCK=$@{XDG_RUNTIME_DIR-$HOME/.cache@}/ssh-agent/socket
+;; export SSH_AUTH_SOCK
 
 (use-modules (shepherd support))
 
 (define ssh-agent
   (service
     '(ssh-agent)
-    #:docstring "Run `ssh-agent'"
+    #:documentation "Run `ssh-agent'"
     #:start (lambda ()
               (let ((socket-dir (string-append %user-runtime-dir 
"/ssh-agent")))
                 (unless (file-exists? socket-dir)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]