[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: doc: Explain how to set custom Shepherd package.
From: |
guix-commits |
Subject: |
branch master updated: doc: Explain how to set custom Shepherd package. |
Date: |
Mon, 01 Feb 2021 13:50:19 -0500 |
This is an automated email from the git hooks/post-receive script.
wigust pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 847c816 doc: Explain how to set custom Shepherd package.
847c816 is described below
commit 847c816ddd3a38c865da460cb7b22cf665db162f
Author: Oleg Pykhalov <go.wigust@gmail.com>
AuthorDate: Mon Feb 1 01:49:00 2021 +0300
doc: Explain how to set custom Shepherd package.
* doc/guix.texi (Shepherd Services): Give example on how to set custom
Shepherd package.
---
doc/guix.texi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index 9e62da4..beff276 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -32895,6 +32895,25 @@ mechanism instead (@pxref{Shepherd Services}).
@end table
@end deftp
+The following example specifies the Shepherd package for the operating
+system:
+
+@lisp
+(operating-system
+ ;; ...
+ (services (append (list openssh-service-type))
+ ;; ...
+ %desktop-services)
+ ;; ...
+ ;; Use own Shepherd package.
+ (essential-services
+ (modify-services (operating-system-default-essential-services
+ this-operating-system)
+ (shepherd-root-service-type config => (shepherd-configuration
+ (inherit config)
+ (shepherd my-shepherd))))))
+@end lisp
+
@defvr {Scheme Variable} %shepherd-root-service
This service represents PID@tie{}1.
@end defvr
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: doc: Explain how to set custom Shepherd package.,
guix-commits <=