[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)
- [shepherd] branch master updated (69f93a6 -> b79b9a3), Ludovic Courtès, 2023/04/27
- [shepherd] 04/10: doc: Clarify upfront what the config file does., Ludovic Courtès, 2023/04/27
- [shepherd] 02/10: service: 'register-services' now takes a list of services., Ludovic Courtès, 2023/04/27
- [shepherd] 03/10: tests: Update for new 'register-services' interface., Ludovic Courtès, 2023/04/27
- [shepherd] 07/10: service: 'shutdown-services' does not stop 'root'., Ludovic Courtès, 2023/04/27
- [shepherd] 01/10: service: Rename 'make-actions' to 'actions'., Ludovic Courtès, 2023/04/27
- [shepherd] 05/10: doc: Update user services example.,
Ludovic Courtès <=
- [shepherd] 06/10: herd: Add 'graph' action., Ludovic Courtès, 2023/04/27
- [shepherd] 08/10: service: Localize help message of the 'root' service., Ludovic Courtès, 2023/04/27
- [shepherd] 10/10: repl: Update calls to deprecated 'start'., Ludovic Courtès, 2023/04/27
- [shepherd] 09/10: herd: Use 'strftime' rather than 'date->string' for 'status' output., Ludovic Courtès, 2023/04/27